GithubHelp home page GithubHelp logo

slt's People

Contributors

lexfro avatar jaredly avatar

Stargazers

 avatar  avatar Kav Singh avatar Eugene Datsky avatar  avatar Mathieu M-Gosselin avatar Nick avatar Fedor Nezhivoi avatar Serhii Frolov avatar  avatar Pavel Kucherbaev avatar Zibx avatar Nikolay Volf avatar Denis Izmaylov avatar

Watchers

 avatar  avatar

Forkers

jaredly

slt's Issues

The "master" context.

We need a "master" context which will be the context which could be defined as a main user context, associated with current user action. It should be selected automatically (by the first "set" call) and also there should be a way to force it (in case of redirects, for example.) The property of "masterness" will be used to handle conflicts and race conditions: the master context should be the king when in the merge.

The `set` strategy.

The main goal of Slots is to provide simplicity and familiarity to isomorphic app development. This is why the default set strategy is gust deep merge. So if we have the request map in the state, and it have, say the body key, if we call Slots.set("request", {url: url}) it will merge the {url: url} into current request map. Sometimes we desire to override this default behavior. This is why we need to provide a way to specify this strategy manually. It will be 2 ways how to do it: you will able to set it in the rules and also it will be possible to specify it directly using third parameter of the set method.

Handle the "World" change. A way to set `Observables` and `Generators`?

With Slots user is able to set what he want to get it. We need to specify a way to handle events (changes) from outside world (from web socket) and make the state to be consistent with the "World" at any point of time.
We need to support Observables and Generators as well as Promises (implemented) and node-style APIs.

Examples?

Can you provide an example app? Its no really clear how to use your tool. Suppose TodoApp would be nice.

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.