Hacker GitHub

← All repos

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

Mentions per year 15 mentions · busiest year 2015 (3)
20082026
  1. …`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 (…
  2. …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
  3. …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
  4. …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…
  5. …[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...
  6. …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)
  7. 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?
  8. 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
  9. ▲ 2
    Reselect: Selector library for Redux
    story by smaili · 2017-07-28 · 0 comments
  10. …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…
  11. …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…
  12. …anyways. Its madness. [1] https://medium.com/@jeffbski/where-do-i-put-my-business-logi... [2] https://github.com/reactjs/reselect
  13. …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…
  14. 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…
  15. …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