Our great sponsors
- Amplication - open-source Node.js backend code generator
- Appwrite - The open-source backend cloud platform
- SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
|6 days ago||2 days ago|
|MIT License||MIT License|
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.
Top 7 Libraries for Blazingly Fast ReactJS Applications
6 projects | dev.to | 18 Aug 2023
Reselect solves this problem by memorizing the values and only passing what’s necessary.
20 Essential Parts Of Any Large Scale React App
15 projects | dev.to | 2 Jun 2023
reselect : Selector library to optimize your store access
Revolutionize Your React App with Redux: A Beginner's Guide to Simplifying State Management(PART 2)
3 projects | dev.to | 12 Apr 2023
20 Best Libraries and Tools for React Developers
11 projects | dev.to | 25 Jan 2023
Reselect is a library for creating memoized “selector” functions. Commonly used with Redux, to slice state and provide just the necessary subtree to a React component.
Please review my 1st react project
2 projects | /r/reactjs | 14 Dec 2022
For the redux part, you need to use two hooks. The first one is for sending data and that is useDispatch and for getting data from redux is useSelector. This link will help you a lot. The only that left is Reselect concept. The thing with redux is that when you update one state inside of the redux store the whole thing updates itself so basically it may cause you to re-render your components. Reselect will prevent that but it's a little bit advanced topic whenever you were comfortable enough with redux I suggest you learn to use reselect. Other than these Really good work with the project.😉👍 welcome to the community. 😁
Killing mutants to improve your tests
5 projects | dev.to | 7 Nov 2022
TypeScript is terrible for library developers
16 projects | news.ycombinator.com | 23 Aug 2022
Heh, it's amusing to see Redux Toolkit referenced here. I'm one of the two main RTK maintainers. My co-maintainer Lenz Weber is responsible for most of our TS type wizardry.
Agreed that writing TS types for libs can be a pain. I actually did a talk recently on "Lessons Learned Maintaining TS Libraries" , where I talked about some of the techniques we used, and some possible TS changes that would be helpful for us as maintainers.
As one recent example, TS made a change in a 4.8 pre-alpha that broke RTK's `createSlice` types. Lenz tried to come up with a fix, couldn't, and had to add a workaround to check what TS version is being used and specifically use an altered type. Since there _isn't_ a good way to know what TS version is being used, Lenz resorted to hacking together a new package that abuses the `typesVersions` property to define a different TS type for _every_ TS major+minor version combo, and then used that to decide what the RTK type should look like conditionally .
Another pain point is debugging type transformations. I reworked the Reselect types in 4.1.x to do a much better job of inferring the argument types for the final selector, based on the intersection of all the input selector arguments. This ended up as a monstrous type that does a types-level map + transpose + intersection . It took me weeks to get this working right, and I frequently had to break it down into multiple small intermediate types to see how TS was processing each step.
I know that someone on Twitter was recently working on an alternate TS type-checker based on bytecode, and they said they had some kind of a working types-level debugger . Having something like that officially, where I could see each step of how TS was transforming the types, would be _hugely_ valuable.
There's a couple folks like AndaristRake who are able to dig into the internals of the TS compiler itself to trace how it's interpreting the types. I definitely don't have that ability :)
Extreme Explorations of TypeScript's Type System
15 projects | news.ycombinator.com | 27 Jun 2022
We do a _lot_ of this in the Redux library repos (examples:    ). We have some incredibly complicated types in our libraries, and we have a bunch of type tests to confirm expected behavior.
Generally, these can just be some TS files that get compiled with `tsc`, but it helps to have a bunch of type-level assertions about expected types.
I actually recently gave a talk on "Lessons Learned Maintaining TS Libraries" , and had a couple slides covering the value of type tests and some techniques.
 Redux Toolkit's `createSlice`: https://github.com/reduxjs/redux-toolkit/blob/9e24958e6146cd...
 Reselect's `createSelector`: https://github.com/reduxjs/reselect/blob/f53eb41d76da0ea5897...
 React-Redux's `connect`: https://github.com/reduxjs/react-redux/blob/720f0ba79236cdc3...
What's new in Redux?
3 projects | /r/reactjs | 30 Dec 2021
While Reselect has always been a separate library from Redux itself, it's in our Github org. The previous maintainer had to stop working on it, so a couple months ago we did some major updates to Reselect. Reselect 4.1.x has huge improvements to its TS types for better inference, and adds a new set of customization options like cache sizes > 1.
React Interview Questions - Part 2 (Mid - Senior Level)
2 projects | dev.to | 25 Dec 2021
Fourth, Use Reselect / Re-reselect in Redux to Avoid Frequent Re-render. Reselect is a library for building memoized selectors that is commonly used for redux.
Ask HN: What is your favorite front end state management solution?
12 projects | news.ycombinator.com | 25 Dec 2022
Actually, Svelte uses Effector for state management under the hood. You can read more about it here: https://effector.dev/. It also has bindings for other frameworks including React, Vue and Solid. Effector is a little not beginner-friendly, but once you truly understand it, Effector becomes a very powerful.
So what is Effector ☄️ ?
2 projects | dev.to | 9 Dec 2022
Effector it is the another way to create state and business logic for your frontend application.
[Question] Recommendations for an agnostic state management?
3 projects | /r/reactjs | 5 Oct 2022
What concepts of react are the most difficult to understand ?
2 projects | /r/reactjs | 19 Sep 2022
https://effector.dev/ here you go
The new wave of React state management
React state management libraries in 2022
8 projects | /r/reactjs | 18 May 2022
Honestly, what is the best, pain-free state management in React right now?
16 projects | /r/reactjs | 23 Feb 2022
What are the production ready alternatives for Vuex with full TS support for Vue2 ?
3 projects | /r/vuejs | 27 Oct 2021
https://effector.dev/ We use it on production in several projects
The best part of Effector
2 projects | dev.to | 3 Oct 2021
To understand this part of the article, it is better to read Effector’s documentation first. Effector has a game-changer feature — Fork API. To understand it, we should talk about one important concept — scope.
Show HN: React Oxide: minimal in-browser code editor with tabs and files
5 projects | news.ycombinator.com | 29 Sep 2021
The issue with using eventemitter for state coordination is that when the UI grows into complexity you run into race conditions where some component isn't showing the right data because it got mounted too late or something somewhere up the hierarchy changed a key and the component got recreated and its state got lost.
I guess as long as long as the component hierarchy fits in your head, it is likely straightforward to reason about all the event interactions.
The lifted state model ala redux (and similar alternatives) doesn't suffer from this problem.
I personally prefer effector  these days because it combines the convenience of event emitter with multiple stores and you usually find yourself thinking much less about what changed the store causing my component to rerender much less often.
What are some alternatives?
pinia - 🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
recompose - A React utility belt for function components and higher-order components.
Immer - Create the next immutable state by mutating the current one
use-context-selector - React useContextSelector hook in userland
jotai - 👻 Primitive and flexible state management for React
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
react-redux - Official React bindings for Redux
nanostores - A tiny (297 bytes) state manager for React/RN/Preact/Vue/Svelte with many atomic tree-shakable stores
zustand - 🐻 Bear necessities for state management in React