DEV Community

Discussion on: Why I stopped using Redux and Used Recoil Instead

Collapse
 
diogo405 profile image
Diogo Goncalves

I don't know why people still use Redux. Recoil is much simpler and easier!

Collapse
 
jyooi profile image
jyooi

I don't know why those people thinking of other ppl using that library are not a good idea. They don't understand there always have the legacy codebase and it is still working fine. People don't risk their production code with those experimental libraryy.

Collapse
 
stojakovic99 profile image
Nikola Stojaković • Edited

Most probably because of the ecosystem. That's one of the primary reasons why most of the websites still use PHP. Also, Recoil is an experimental library.

Collapse
 
nicozerpa profile image
Nico Zerpa (he/him)

Redux has been so popular for a long time. That means there are lots of libraries that work well with it. As Recoil is still a young project, you don't have so many libraries available, at least for now.

Also, there are tons of information online about Redux. That's very useful if you find a bug or a problem using the library because it will be easier to find how others solved that problem.

If you use Recoil and something goes wrong, it will be way harder to google how to solve it. That's also because it's a new tool.

Redux is better suited for large, complex applications. In these large codebases, the boilerplate code isn't that much of a problem.

Collapse
 
johnfrades profile image
John Frades

Redux is already an established library and well maintained. If you're working on a commercial product, adding a library because its simpler and easier isn't always the case. Especially that Recoil is still in Experimental stage. Companies jwouldn't risk their product using an experimental stage library