reading-notes


Project maintained by mr-atta Hosted on GitHub Pages — Theme by mattgraham

<Login /> and <Auth />



Review, Research, and Discussion

Why is the Context API useful ❓ 📁

The Context API is a React structure that enables you to exchange unique details and assists in solving prop-drilling from all levels of your application.

Can a component outside of a provider get its context ❓ 📁

With the introduction of react-hooks in v16.8.0, you can use context in functional components by making use of useContext hook

What are some common use cases for using the Context API ❓ 📁

Describe “Context Hell” ❓ 📁

React Context hell is the bad code you get taking advantage of the React Context API.



ROLE-BASED ACCESS CONTROL (RBAC)

restricts network access based on a person’s role within an organization and has become one of the main methods for advanced access control.
The roles in RBAC refer to the levels of access that employees have to the network.


options for user access:


BENEFITS

  1. Reducing administrative work and IT support.
  2. Maximizing operational efficiency
  3. Improving compliance.


Install: npm i react-cookie

impotr: const [cookies, setCookie, removeCookie] = useCookies(['cookie-name']);




📌 what is role based access control?

📌 react-cookies component

📌 react-cookie library