Giter Site home page Giter Site logo

ricochet's Issues

Worker?

Can an epic cycle be run in worker?

Pro:
Epic states never contain any DOM references

Con:
This makes the cycle execution asynchronous making it possible to dispatch another external action midcycle

Scoped Epics

Case: Multiple elements on the page can depend on same state but they want to maintain their own instances of the state

Cyclic Dependencies

Case 1

Problem

A -> B, C
B(OP), C(OP) -> D

Current

A -> B -> D -> C -> D

Solution

A -> B, C -> D

Case 2

Problem

A, D(OP) -> B
A -> C -> D

Current

A -> B -> C -> D -> B

Solution

A -> C -> D -> B

Case 3: (worst)

Problem

A, D(OP) -> C
A, C(OP) -> B
B -> D

Current

A -> C -> B -> D -> C -> B

Solution

A -> B -> D -> C -> B?

kill handler?

Should there be an option to kill a handler if user wants to?

Undo

We are already have the setup to reset state and scope to previous values on error. We can re-use the same setup to implement undo behavior

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.