severo

A framework to bind Store/Action attributes and methods on React Components

We change the package for @guidiego/severus :)
Last updated 4 years ago by guidiego .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install severo 
SYNC missed versions from official npm registry.

Severo

A framework that bind easily your Flux Action/Store inside your React Component.

Installing

First of all get that for your package.json npm install --save-dev severo

Understanding Severo

The Ideia

Severo was create to make easily you reuse the same Store Data / Action Dispatchs inside React components, so the mainly ideia is little thing to do little things something like a minimalist pattern or single responsability didatic.

The Way

So we will have a Store and a Action linked by their names, after that we have a Severo Component that bind this Store/Action inside our component to give us access to our logic.

Can You Forget setState?

Severo working with a abstract State, yeah you listening write! You will declare you state and the methods that change that inside your store. Forget create functions and more functions inside Class Components to change state, now you will call actions to make that for you!

The Flux Flow inside Severo Flow

The flux flow it's easy to describe component -> action -> store -> component, severo work exactily equal. We have Actions to Dispatch our Store Methods, and we Bind our Component to them to make easy gave a this.increase() or something like that.

A toy with battery?

Yeah! We gave you a toy with battery! We have some wrap methods to make your life easy, like Request and Dispatch

I'm in!

If you like the ideia, support us with a star, feedback, issues, discussions and pull requests <3

Current Tags

  • 1.1.6                                ...           latest (4 years ago)

13 Versions

  • 1.1.6 [deprecated]           ...           4 years ago
  • 1.1.5 [deprecated]           ...           4 years ago
  • 1.1.4 [deprecated]           ...           4 years ago
  • 1.1.3 [deprecated]           ...           4 years ago
  • 1.1.2 [deprecated]           ...           4 years ago
  • 1.1.0 [deprecated]           ...           4 years ago
  • 1.0.6 [deprecated]           ...           4 years ago
  • 1.0.5 [deprecated]           ...           4 years ago
  • 1.0.4 [deprecated]           ...           4 years ago
  • 1.0.3 [deprecated]           ...           4 years ago
  • 1.0.2 [deprecated]           ...           4 years ago
  • 1.0.1 [deprecated]           ...           4 years ago
  • 1.0.0 [deprecated]           ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 13
Dependencies (4)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |