reduxjs/reselect
View on GitHub ↗ ★ 19,002 TypeScript
Selector library for Redux
15 mentions on Hacker News by 11 people: 1 story, 14 comments · first 2015-07-05 · latest 2023-12-04
20082026
-
…`lruMemoize` - Allows passing memoizer options direct to `createSelector` - Many TS improvements - https://github.com/reduxjs/reselect/releases/tag/v5.0.1 ## Redux Thunk 3.0: - Drops the default export and switches to named exports (…
comment by acemarke · 2023-12-04 · in Redux Toolkit 2.0: new features, faster perf, smaller bundle sizes, and more -
…shallow equality check on the _new_ result, and stick with the _old_ result if they're the same: - https://github.com/reduxjs/reselect#defaultmemoizefunc-equal...
comment by acemarke · 2023-01-15 · in Redux Performance Tips -
…software.com/2022/05/presentations-ts-l... [1] https://github.com/reduxjs/redux-toolkit/pull/2547 [2] https://github.com/reduxjs/reselect/blob/v4.1.5/src/types.ts... [3] https://twitter.com/MarcJSchmidt/status/1539787500788613120
comment by acemarke · 2022-08-23 · in TypeScript is terrible for library developers -
…https://github.com/reduxjs/redux-toolkit/blob/9e24958e6146cd... [1] Reselect's `createSelector`: https://github.com/reduxjs/reselect/blob/f53eb41d76da0ea5897... [2] React-Redux's `connect`: https://github.com/reduxjs/react-redux/blob/720f0b…
comment by acemarke · 2022-06-27 · in Extreme explorations of TypeScript's type system -
…[3] https://github.com/reduxjs/react-redux/blob/v8.0.0-alpha.1/s... [4] https://github.com/reduxjs/reselect/blob/v4.1.2/src/index.ts...
comment by acemarke · 2021-11-07 · in Ask HN: Is it worth it to invest in learning TypeScript? -
…is incomplete without some sort of selector layer, which acts as the metaphorical database views. https://github.com/reduxjs/reselect
comment by bugeats · 2020-04-09 · in Redux – Not Dead Yet (2018) -
If you are in the Redux world I would maybe take a look at Reselect ( https://github.com/reduxjs/reselect ). As the other comment said, your problem should be solved by shouldComponentUpdate or more granular coupling of state to the…
comment by hfourm · 2018-10-09 · in Ask HN: How can we make React better? -
Not sure I follow. Selectors don't need redux. I use them everywhere. https://github.com/reduxjs/reselect > Just because you render a bunch of wrapper components (one for each HOC)? Efficient rendering would involve >not< re-rendering the…
comment by WalterSear · 2018-08-19 · in Redux vs. The React Context API -
▲ 2
Reselect: Selector library for Reduxstory by smaili · 2017-07-28 · 0 comments
-
…and if a particular view is costly to compute as a function of your state you can memoize it (I use https://github.com/reactjs/reselect for that). But that's extra complexity that should only be added in the few cases that warrant it. I…
comment by kcorbitt · 2017-04-04 · in Show HN: React-data sheet, Excel-like spreadsheet component -
…only need to be re-rendered if the state has changed. If you combine this with reselect ( https://github.com/reactjs/reselect ), then this allows you to only re-render components when the sub-set of the state tree is changed that can…
comment by joncrocks · 2016-11-11 · in Is Model-View-Controller dead on the front end? -
…anyways. Its madness. [1] https://medium.com/@jeffbski/where-do-i-put-my-business-logi... [2] https://github.com/reactjs/reselect
comment by defundefun · 2016-10-20 · in How to avoid rewriting your JavaScript application -
…as bryanlarsen points out in a sibling to your comment, that appears to be available in reselect: https://github.com/faassen/reselect (last time[0] I talked about Nuclear vs Redux here, reselect didn't have a readme). So I'll need to take…
comment by rattray · 2015-08-14 · in Pros and Cons of using immutability with React.js -
If you want the getters functionality in redux, use reselect: https://github.com/faassen/reselect At this point I really get the impression that redux has "won" now that flummox recommends using redux instead of flummox. Flux libraries are…
comment by bryanlarsen · 2015-08-14 · in Pros and Cons of using immutability with React.js -
…so you may (or may not) use ImmutableJS too. Here's an example of the “getters” concept with Redux: https://github.com/faassen/reselect . (Sorry, no README yet :-( ). They don't have to be inside the core.
comment by danabramov · 2015-07-05 · in Redux: Atomic Flux with Hot Reloading