useEffectReducer VS elm-sortable-table

Compare useEffectReducer vs elm-sortable-table and see what are their differences.

useEffectReducer

useReducer + useEffect = useEffectReducer (by davidkpiano)

elm-sortable-table

Sortable tables for whatever data you want to display (by evancz)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
useEffectReducer elm-sortable-table
2 1
789 282
- -
0.0 0.0
over 1 year ago over 5 years ago
TypeScript Elm
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

useEffectReducer

Posts with mentions or reviews of useEffectReducer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-01-06.
  • Is there a way to wait for setStatte to finish before calling function?
    1 project | /r/reactjs | 19 Oct 2021
  • JUXT Blog - Learn You a ClojureScript for Great Good!
    4 projects | /r/Clojure | 6 Jan 2021
    So it's like you say: it's a pattern that ensures a uniform style across the app. There's also the other end of the spectrum with frameworks like Relay and Fulcro that have their place and optimise all the data fetching, but I believe this pattern sits comfortably in the middle and scales a lot and at the same time it's not overkill for smaller apps. Now, you can do all that without adding effects to a queue. You can use useEffectReducer and perform them directly. I just prefer to be explicit about it and I think it has a lot of benefits. Definitely not The One True Way but something worth trying.

elm-sortable-table

Posts with mentions or reviews of elm-sortable-table. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-01-06.
  • JUXT Blog - Learn You a ClojureScript for Great Good!
    4 projects | /r/Clojure | 6 Jan 2021
    That's true for complex apps but if your app is complex having effects everywhere doesn't make it easier to understand, in my experience. If having one big reducer is scary you can always split the reducer into multiple functions. If the app has separate "modules" each one of them can have their own reducer and effects. Using recoil you can decide wether these separate modules have each one their own state/atom or they all link to one big app state atom using selectors. It's a one line change to switch between the two and that's why I quite like recoil. If you squint, it looks a bit like how Elm creates reusable components, each one with their Model View Update, e.g. https://github.com/evancz/elm-sortable-table/tree/1.0.1

What are some alternatives?

When comparing useEffectReducer and elm-sortable-table you can also consider the following projects:

jotai - 👻 Primitive and flexible state management for React

speccards - Example of using clojure.spec with devcards

use-optimistic-reducer - ⏱️ React reducer hook for handling optimistic UI updates and race-conditions.

posh - A luxuriously simple and powerful way to make front-ends with DataScript and Reagent in Clojure.

clean-state - 🐻 A pure and compact state manager, using React-hooks native implementation, automatically connect the module organization architecture. 🍋

useRedux - Hook to connect redux store to react components

redux-dynamic-modules - Modularize Redux by dynamically loading reducers and middlewares.