Were React Hooks a Mistake?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • re-frame

    A ClojureScript framework for building user interfaces, leveraging React

  • https://github.com/day8/re-frame

    Notably the author of re-frame has been weary of hooks.

    I think that’s for a good reason. The approach in re frame feels like the best way to manage state so far for a react based app. Everything that changes state flows through an event. State can only be observed through subscriptions. Side effects are isolated to their own type of event. Debugging and testing are so straight forward with these concepts.

    Redux got close but it has two problems in my mind. Like hooks, it encapsulates for no good reason. Put the state in one thing that you can observe holistically before and after pure events. It also has too much boiler plate.

  • react-basic

    A description of the conceptual model of React without implementation burden.

  • > Your UI should be a pure function of your state.

    Except this has always been BS.

    https://blog.metaobject.com/2018/12/uis-are-not-pure-functio...

    (Read to the end...)

    https://github.com/reactjs/react-basic/pull/12

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts