GithubHelp home page GithubHelp logo

jayad23 / x-machine-ai Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 855 KB

Book a flight App using library X-machine for creating machine state in app and creating data flow that enables handlers based on status of the app.

Home Page: https://x-machine-ai.vercel.app/

HTML 8.88% CSS 15.17% JavaScript 75.95%

x-machine-ai's Introduction

Machine State

Flight booking project with X-State / Machine State.

Though there seems to have been reservations regarding machine states due to its complexity at maintenance in large scale projects, Machine states are gaining certain relavance for better state preservation, control, and smooth transition between components.

X-State proposes a method, createMachine() and a (React) hook useMachine to configure a machine to states, actions detonators, and contexts controls in such an intuitive way.

State machines may not be a replacement of Redux or any other global state library, however, it would be a great tool in partial component construction at noticing that it circles the same states.

Though there might be a lot of things to mention about Machine States, one thing that might be a downside is its imperative API, which leads to large files and blocks of codes that kind of feels like antagonist to React principle of declatarive programming.

Nonetheless, I personally think there is a lot of potential in this concept and paradigm of stateful components..from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

logo

x-machine-ai's People

Contributors

jayad23 avatar

Watchers

 avatar

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.