Chirag PatelShould You Wrap Every Function in a try-catch in JavaScript?In JavaScript, try-catch is a powerful tool for handling errors gracefully. But should you apply it to every function? In this post, we’ll…Nov 10Nov 10
Chirag PatelHow we used state machines to improve state managementState management is hard. When the app state becomes unpredictable it leads to all kinds of UI errors. But it doesn’t have to be this way…Apr 10, 2021Apr 10, 2021
Chirag PatelHow to Write Your First Redux-SagaNowadays, Redux saga became the most popular library to handle asynchronous requests and control the application flow in redux, so In this…Apr 10, 2021Apr 10, 2021
Chirag PatelSide Effects of Optimising Without ProfilingThere are so many new things that have come out recently, to help developers write better code in the react. But as with everything, there…Sep 19, 2019Sep 19, 2019
Chirag PatelClass components Vs React HooksOne way data flow in React help us to build scale-able and compose-able UI component, but managing to state and UI separation logic not…Sep 19, 2019Sep 19, 2019