Will hooks overthrown redux?

后端 未结 3 653
礼貌的吻别
礼貌的吻别 2021-01-06 13:24

I\'ve been searching for a while about React\'s hooks now, and one question became persistent in my head. Will hooks overthrown redux? This is a fairly old discussion so fir

3条回答
  •  Happy的楠姐
    2021-01-06 14:00

    It's really hard to say at this time. The redux team is actively updating the product to include some nice features. However, one of the creators of redux (https://github.com/acdlite) seems to be on a path to destroy his old applications in favour of new features in react.

    That being said, Redux is a tested and known library that a lot of people are comfortable with. I do not believe it a bad idea to start a new project with redux Today, tomorrow, or in a year. Tech does not die overnight. if it serves a purpose it's going to live on.

    However, I do think context and hooks are a great alternative to redux, but the community simply does not know how to use it yet.

提交回复
热议问题