Critical Mistake: Avoid Using Store in Your Web Applications for Optimal Performance


Summary of my bookmarked links from Jan 10th, 2022

Links

  • You should NOT use Store in your web applications

    Store usage can be beneficial if applied correctly, but it can also lead to issues when misused. This article discusses situations when utilizing Store is advantageous and when it can cause problems. Although some companies are moving away from Redux and exploring alternative tools like React Hooks and Context API, a significant number of React apps still rely on Flux architecture. While Store facilitates sharing global data and managing app state effectively, it introduces drawbacks such as extensive boilerplate code and high coupling. It's crucial to assess whether Store is genuinely necessary in each case and consider using component-local state when appropriate.