Feedback appreciated: ngrx-store-wrapper — an NgRx wrapper to reduce boilerplate #4929
himanshuarora111
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’ve been using NgRx for a while and always found myself frustrated by the repeated boilerplate—writing actions, reducers, effects, and selectors even for simple features. To streamline this, I developed ngrx-store-wrapper, a minimal abstraction that maintains NgRx compatibility while drastically reducing boilerplate.
Core features include:
Dynamic reducer/selector registration at runtime
set() and get() methods instead of writing actions or selectors manually
Built-in persistence via localStorage or sessionStorage
Auto-bind decorators to eliminate manual binding in effects
Automatic cleanup of polling effects, subscriptions, and dynamic keys
I’d love feedback on:
Architectural alignment—does this preserve the NgRx pattern well enough?
Use case fit—where would this be most helpful or potentially problematic?
Potential design improvements, especially around effect behavior, schema validation, or persistence logic
GitHub repo: https://github.com/himanshuarora111/ngrx-store-wrapper
Thanks in advance to anyone who takes a look—I'm eager to improve its design and usability based on real developer feedback!
Beta Was this translation helpful? Give feedback.
All reactions