React Best Practices

Resist using redux

Resist using redux

People often choose Redux before they need it. “What if our app doesn’t scale without it?” Later, developers frown at the indirection Redux introduced to their code. “Why do I have to touch three files to get a simple feature working?” Why indeed!

Instead learn to think in React. Come back to Redux if you find a real need for it.

Handling Authentication

Handling authentication is the part where you might require a global state. You can use React Context APIs in such situations.


    to navigateEnterto select Escto close