mini-rx-store
RxJS
mini-rx-store | RxJS | |
---|---|---|
10 | 99 | |
165 | 30,258 | |
- | 0.6% | |
8.7 | 8.8 | |
7 days ago | 12 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mini-rx-store
-
10 Reasons for MiniRx Signal Store
Framework-agnostic code: Although MiniRx Signal Store is an Angular library, your state management code is almost framework-agnostic. Signals are an internal implementation detail of the Signal Store. Therefore, you can easily refactor your state management layer to the original (RxJS-based) MiniRx Store and use it in whatever framework you want (e.g. Svelte).
-
Introducing MiniRx Signal Store
The MiniRx Signal Store API is documented in the README.
-
MiniRx Signal Store for Angular - API Preview
MiniRx Store
-
MiniRx Signal Store RFC needs your feedback
It is based on the same great concept of the original MiniRx Store which was based on RxJS (see the docs here: https://mini-rx.io/).
-
MiniRx Feature Store vs. NgRx Component Store vs. Akita
See the FeatureStore source here.
- Svelte Demo of MiniRx - The RxJS Redux Store
-
Introducing MiniRx - Scalable reactive state management
NgRx and the Redux pattern are great for managing state at a large scale. However, almost every application contains also features that require only a simple form of state management. Then the Redux pattern with its actions and reducers quickly feels like overkill. I wanted a state management solution which looks and feels a lot like NgRx, but it has to support simple state managment too. It was time to create MiniRx Store:
RxJS
-
What is an observable?
Any continuous stream of data can be declared as an observable and the user can subscribe to it and monitor the changes in the data that is subscribed to. In simple terms we can say that observable is something that we can observe the changes constantly and in real time.
-
Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and moreβ¦
- Episode 24/09: Testing without TestBed, SSR & Hydration
-
10 Reasons for MiniRx Signal Store
RxJS is used for events and asynchronous tasks
-
Top 10 Things to Add to Your Angular App Coding: A Recipe for Programmer Success
Data flowing like a melody? Master RxJS, the reactive JavaScript library, to handle asynchronous data flows with grace and ease. Streamlined data, happy code.
-
What We Need Instead of "Web Components"
> This proposal makes the same mistake as various stream implementations (including RxJS in the past) of making operators methods on the observable.
I don't think they are making a mistake. I am sure Ben knows what he is doing, given how it was he who refactored rxjs 5 with all operators being methods on the Observable, to rxjs 6 with pipeable operators.
But, their objective is not to bring rxjs into the browser, but rather to bring the Observable primitive into the browser. And, like Array prototype, which has methods, Observable, in order to be even minimally useful, needs some methods, which they modelled from TC39 iterators, for the sake of consistency.
They say:
> We expect userland libraries to provide more niche operators that integrate with the Observable API central to this proposal, potentially shipping natively if they get enough momentum to graduate to the platform. But for this initial proposal, we'd like to restrict the set of operators to those that follow the precedent stated above, similar to how web platform APIs that are declared Setlike and Maplike have native properties inspired by TC39's Map and Set objects. Therefore we'd consider most discussion of expanding this set as out-of-scope for the initial proposal, suitable for discussion in an appendix. Any long tail of operators could conceivably follow along if there is support for the native Observable API presented in this explainer.
As to
> We really need a `pipe` operator, at minimum
Maybe we don't. Note that in RxJS version 8, they have introduced a new way of piping observables, which is the rx function [0]. Maybe they are thinking of something similar for the browser. Or maybe they are thinking of using the native pipeline operator if it ever gets approved.
In the meantime, for any complex manipulations on observables, users will probably still import relevant functions from libraries.
0 - https://github.com/ReactiveX/rxjs/issues/7203
-
Want to raise the bar π―
Hello and welcome! It's fantastic that you're looking to broaden your expertise in front-end development. Transitioning from Flutter to React and Angular is a great move, as it will provide you with a well-rounded skill set. ### Resources for Learning React: 1. **Official Documentation:** Start with the [official React documentation](https://reactjs.org/). It's well-written and comprehensive. 2. **React Fundamentals Courses:** Platforms like [freeCodeCamp](https://www.freecodecamp.org/) and [Codecademy](https://www.codecademy.com/) offer free React courses. 3. **React Hooks:** Understand the concept of hooks, a powerful feature in React. The [React Hooks documentation](https://reactjs.org/docs/hooks-intro.html) is a great resource. 4. **Project-Based Learning:** Build small projects to apply your knowledge. You can find ideas on platforms like [GitHub](https://github.com/) or [CodePen](https://codepen.io/). 5. **React Router:** Learn how to handle navigation in React using [React Router](https://reactrouter.com/). ### Resources for Learning Angular: 1. **Official Documentation:** Similar to React, start with the [official Angular documentation](https://angular.io/). 2. **Angular Tour of Heroes:** This is a hands-on tutorial provided in the Angular documentation. It's an excellent resource for getting started. 3. **Angular University:** [Angular University](https://angular-university.io/) offers comprehensive courses on Angular. 4. **RxJS:** Learn about reactive programming using RxJS, which is heavily used in Angular. You can find resources on the [official RxJS documentation](https://rxjs.dev/). 5. **Build Real-World Apps:** Build practical applications to solidify your understanding. The more you code, the better you'll become. ### Making a Mark in the Open-Source Front-End Space: 1. **GitHub Contributions:** Contribute to existing open-source projects. This not only helps you learn but also establishes your presence in the community. 2. **Create Your Projects:** Start small with your open-source projects. Share them on GitHub, and seek feedback from the community. 3. **Participate in Hackathons:** Join online hackathons or coding challenges. They're great for learning and networking. 4. **Follow Blogs and Newsletters:** Stay updated with the latest trends and best practices in the front-end world. Subscribe to newsletters like [JavaScript Weekly](https://javascriptweekly.com/) or [React Status](https://react.statuscode.com/). 5. **Join Forums and Communities:** Engage with developers on platforms like [Stack Overflow](https://stackoverflow.com/) or specialized forums for React and Angular. Remember, the key is consistent practice and learning by doing. Good luck on your journey, and feel free to reach out if you have more questions! π
- Ask HN: What are some unpopular technologies you wish people knew more about?
-
MiniRx Signal Store for Angular - API Preview
Signal Store helps to streamline your usage of RxJS and Signals: e.g. connect and rxEffect understand both Signals and Observables
-
Implement a simple bus event in Angular
Our bus event is really simple in fact. We have declared into the core module (provided in all the application) an rxjs Subject.
What are some alternatives?
pinia-undo - π Undo/Redo plugin for pinia.
Most.js - Ultra-high performance reactive programming
Svelte - Cybernetically enhanced web apps
MobX - Simple, scalable state management.
diffx - A state management library for React, Vue.js, Svelte, Angular and vanilla javascript
Bacon - Functional reactive programming library for TypeScript and JavaScript
akita - π State Management Tailored-Made for JS Applications
kefir - A Reactive Programming library for JavaScript
mini-rx-comparison - Compare MiniRx FeatureStore with NgRx ComponentStore and Akita Store
Cycle.js - A functional and reactive JavaScript framework for predictable code
mini-rx-svelte-demo - MiniRx Store Demo (Svelte): See the Redux Api and the Feature Stores in Action
Highland - High-level streams library for Node.js and the browser