Tuesday, 19 May 2020

Immer-ente - React state management made easy

I wrote a new state management library for React and wanted to share. If you're familiar with Zustand or immer-wieder then this should look immediately familiar, but maybe a bit more "complete" with features like hooks and server-side rendering and typescript support. If you're not, then this is a bit like Redux but without all the boilerplate - you "actions" are functions that can basically just operate on state directly, and immer takes care of all the immutability concerns for you:https://github.com/jwalton/immer-ente/

Submitted May 19, 2020 at 02:46PM by jwalton78

No comments:

Post a Comment