GithubHelp home page GithubHelp logo

yarni's Introduction

Yarni – Yet another Redux .NET implementation

This is not intended for public consumption, and I will likely not maintain this. Check out Redux.NET instead.

yarni's People

Contributors

cmeeren avatar

Stargazers

 avatar Rajiv Mounguengue avatar powerdude avatar Aaron Roberts avatar Ville Ahti avatar Guillaume Salles avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

orelinde

yarni's Issues

Events

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!

Possible usage example

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.