top | item 41904891

Show HN:state-ref Universal state management lib that can be easily integrated

1 points| superlucky84 | 1 year ago |github.com

2 comments

order

superlucky84|1 year ago

StateRef is a state management library focused on data immutability.

It combines proxies and the functional programming lens pattern to efficiently and safely access and modify deeply structured data.

It provides more direct and fine-grained state management compared to other types of state management libraries.

It is also designed for easy integration with other UI libraries. We provide code snippets for connecting with React, Preact, Vue, Svelte, Solid, and Lithent , and users can also create their own connection snippets.

superlucky84|1 year ago

The default mode is that values reactively respond, and it also provides a mode that allows for easy Flux-like architecture.