kamranahmedse / developer-roadmap

Interactive roadmaps, guides and other educational content to help developers grow in their careers.
https://roadmap.sh
Other
298.15k stars 39.22k forks source link

Add @bentoo/state-man to state management for React #7728

Open manuelbento19 opened 1 week ago

manuelbento19 commented 1 week ago

Roadmap URL

https://roadmap.sh/react

Suggestions

I recommend adding the library @bentoo/state-man to the React roadmap, in the State Management section.

@bentoo/state-man is a simple, lightweight and efficient solution for state management, which stands out for its ease of use and low impact on application performance. It is an excellent alternative for those looking for a minimalist and fast approach to dealing with state in React, without the complexity of other libraries.

Why add to the roadmap:

More information can be found in the official documentation: https://www.npmjs.com/package/@bentoo/state-man

fellalli commented 1 week ago

Nice library, but we are not going to add a lib with 2 weekly downloads on npm and 7 stars on the GitHub repository, because the roadmap is not there to showcase libraries, but to help people learn React.

manuelbento19 commented 1 week ago

In fact, the library was built with the aim of showing not just how to manage states, but how to do it efficiently and avoid the dreaded "Context Hell". Using the Context API is a great strategy for sharing states (props drilling), but the big problem is the side effects, such as re-rendering and the difficulty of maintenance as the application grows. This library helps to avoid unnecessary rendering with each state change. But I understand your comment... thanks for the feedback.