This is not intended for public consumption, and I will likely not maintain this. Check out Redux.NET instead.
cmeeren / yarni Goto Github PK
View Code? Open in Web Editor NEWYarni – Yet another Redux .NET implementation
License: MIT License
Yarni – Yet another Redux .NET implementation
License: MIT License
This is not intended for public consumption, and I will likely not maintain this. Check out Redux.NET instead.
hey @cmeeren I was looking at your event implementation to try and do the same for redux.net and NRedux and I have a question. This line of the documentation https://github.com/cmeeren/yarni/blob/master/src/Yarni/IStore.cs#L19 says that the delegates are immediately called on subscription. Which I can see from https://github.com/cmeeren/yarni/blob/master/src/Yarni/Store.cs#L16. Is there a specific use case that you have for this that caused you to implement it this way? I am wondering if the same should be the case for redux.net. When looking at the src for redux don't see the handlers getting called at all until the first dispatch after they are subscribed. I'm just wondering why you did it this way and if you think it makes sense for redux.net to behave this way as well, or behave more like redux. Thanks!
I realize that you said "This is not intended for public consumption, and I will likely not maintain this", but I've looked at Redux.NET (and the umerged PR's you did), and I like the way your comment in GuillaumeSalles/redux.NET#51 (comment) composes state and reducers in Yarni. Your library also doesn't depend on IObservable (that I've seen).
I would love to see some examples of Yarni:
General Usage
Reducer Composition
State Composition
How you handle async things (calling apis)
Subscribing(?) to parts of the state
We have a WPF application that is growing unwieldy, and have been looking at alternative state management techniques.
I understand that you have no intentions of maintaining anything, but some examples would be awesome.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.