useEffectReducer
posh
Our great sponsors
useEffectReducer | posh | |
---|---|---|
2 | 3 | |
789 | 114 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 2 years ago | |
TypeScript | Clojure | |
MIT License | Eclipse Public License 1.0 |
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
- Is there a way to wait for setStatte to finish before calling function?
-
JUXT Blog - Learn You a ClojureScript for Great Good!
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.
posh
-
Use of Posh for frontend development?
Bumped into posh & re-posh 2 years ago in a project. Team had discovered a bug somewhere in tracking reverse relations. Managed to fix that in posh and it worked ok after that. All data was loaded into frontend.
-
JUXT Blog - Learn You a ClojureScript for Great Good!
I think we can do better than the status quo. Especially in ClojureScript. I look at projects like posh and there's so much potential. It requires a change in mindset: if we think of components as objects that do things I think we stay trapped in this local optimum.
What are some alternatives?
jotai - 👻 Primitive and flexible state management for React
odoyle-rules - A rules engine for Clojure(Script)
use-optimistic-reducer - ⏱️ React reducer hook for handling optimistic UI updates and race-conditions.
electric - a reactive Clojure dialect for web development that uses a compiler to infer the frontend/backend boundary
clean-state - 🐻 A pure and compact state manager, using React-hooks native implementation, automatically connect the module organization architecture. 🍋
speccards - Example of using clojure.spec with devcards
useRedux - Hook to connect redux store to react components
relic - Functional relational programming for Clojure(Script).
redux-dynamic-modules - Modularize Redux by dynamically loading reducers and middlewares.
electric-examples-app - Deprecated - Now part of Electric Fiddle
elm-sortable-table - Sortable tables for whatever data you want to display