View on GitHub

reading-notes

<Login /> and <Auth />

Because it allows us to use certain functions or states or the like anywhere in the app, without having to pay attention to the direction the data is going.

 

No.

 

Providing data to multiple endpoints in the app, without having to pass each data as a prop each time.

 

It’s when you have many context files used, making the code look horrible.

 

Go back to table of contents