Coder Social home page Coder Social logo

stradap / react-agent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yokyak/react-agent

0.0 1.0 0.0 2.14 MB

Auto-syncing client and server-side state management library

Home Page: http://www.reactagent.com

License: MIT License

HTML 1.34% CSS 5.77% JavaScript 92.89%

react-agent's Introduction

React Agent

License React Agent React Agent Server Build Status Coverage Status

React Agent synchronizes client-side and server-side state. It can be included in any React project without conflict with other state management tools or REST APIs.

React Agent is easy to learn.

Here's the basic idea: the client runs 'actions' that are defined on the server-side.

run('addUser', { user: 'Billy' })

These actions can be as powerful as you want -- i.e. CRUD operations, API calls, and authentication. Moreover, clients can subscribe to server-side actions so that they receive live updates.

React Agent includes offline-support to render optimistic updates and then synchronization on reestablished network connection. It also features time travel debugging.

Why use React Agent?

The popular conceptualization of state management stores state in two places: data on the client-side and data on the server-side.

To connect these, front-end and back-end developers usually write a lot of code such as HTTP requests, controllers, and routes. It can get complicated. previous

In contrast, React Agent serves as a communication channel between the client and the server. It abstracts state transfer to make it super easy to interact between the client and server. now

Getting Started

Install the package:

npm install react-agent --save

See React Agent for information about client-side set-up.

Install the package:

npm install react-agent-server --save

See React Agent Server for information about server-side set-up.

Contributors

Contributing

Please submit issues/pull requests if you have feedback or message the React Agent team to be added as a contributor: [email protected]

Authors

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

react-agent's People

Contributors

didrio avatar eric2turbo avatar hhau01 avatar tskittles 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.