Simple state stores using immer and React hooks - re-use parts of your state by pulling it anywhere you like! (by lostpebble)

Pullstate Alternatives

Similar projects and alternatives to pullstate

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pullstate alternative or higher similarity.

Suggest an alternative to pullstate

pullstate reviews and mentions

Posts with mentions or reviews of pullstate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-02.
  • The new wave of React state management
    23 projects | news.ycombinator.com | 2 Jul 2022
    And automatically, any components using uiStateStore.useState and watching the isSidebarOpen property will get updated, exactly the same as the normal useState hook - just shared.

    It's so dead simple and has made complex app-building so much easier for me.

    The one caveat is that if I have a component with many handlers, e.g. onClick, onMouseMove, onContextMenu, onMouseLeave, etc (and in some cases I do), components can get bloated. I haven't found a fix to that yet. But that's more an inherent issue with react than anything to do with state management.

    [1] https://github.com/lostpebble/pullstate

    23 projects | news.ycombinator.com | 2 Jul 2022
    I've been using Pullstate for medium-sized apps for a couple years and it's fantastic: uses Immer under the hood (so it's all immutable even if it look as it wasn't), it's API and mental model are vulgarly simple, and my impression is that it's quite performant. I also like that the store isdisentangled from the component tree, which allows for plenty of flexibility. Totally recommended!


  • Tech skill shortage
    8 projects | reddit.com/r/ProgrammerHumor | 14 Aug 2021
    Sounds like you're on the right track. React is very hire-able. Try out multiple store systems. The big one is react + redux. Then after you have some experience with that, try a simpler one like pullstate.
  • Would using Redux/Context be useful If I'm using RN-Firebase?
    1 project | reddit.com/r/reactnative | 13 May 2021
    You could try out pullstate - its basically just global objects which you can mutate and which automatically update your state over your entire app, for whichever parts you have "pulled" the state into.


Basic pullstate repo stats
28 days ago

lostpebble/pullstate is an open source project licensed under MIT License which is an OSI approved license.

Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Find remote jobs at our new job board 99remotejobs.com. There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.