react-xedd

0.0.5 • Public • Published

React-Xedd

React-Xedd is the dead simple state-manager-ish that will make your "Prop Drilling" a thing of the past.

  • Easy to use and integrate
  • No boilerplate
  • Minimal react code changes
  • Magic

How it works!

React-Xedd uses streams with a pub/sub model, any component can publish to the stream and any component can subscribe to a stream. any to any relationship.

Installation

$ npm install react-xedd

Then import it in your code

import xedd from "react-xedd";

publish changes

xedd.publish(<STREAM_NAME>, value);

listen for changes

xedd.subscribe(<STREAM_NAME>, callback);

Cheers!

Package Sidebar

Install

npm i react-xedd

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

4.11 kB

Total Files

4

Last publish

Collaborators

  • zdeveloper