1.1.1 • Published 9 years ago

black-lion v1.1.1

Weekly downloads
3
License
GPL-3.0
Repository
-
Last release
9 years ago

black-lion

The core of your Arus project, BlackLion is the link between the front and backend of your project. It uses Redux to store data and trigger changes within your app.

Redux uses a combination of Reducers and Actions to handle changes to state within an app.

Reducers

Reducers handle the actual modification of the state given a specified action.

Reducer Documentation

Actions

Actions tell the Reducer what is going on so that it can modify the state appropriately.

Action Documentation

Further Reading

If you wish to learn more about Redux please help yourself to this great documentation

Adding Services

1) create actions in ./lib/actions/<ServiceName>Actions.js

2) create a reducer in ./lib/reducers/<ServiceName>Reducer.js

3) add <serviceName>State field to the reducer object in ./index.js with a value of the imported <ServiceName>Reducer.js file

4) add <ServiceName>Actions field to the actions object in ./index.js with a value of the imported <ServiceName>Actions.js file

5) add mock response data to the ./test/lib/mocks.js file and export them

6) add a mock service call to the ./test/lib/Connector.js file that returns the mock data you just created

7) create tests

8) make sure all tests are still passing by running npm test

9) increment the third digit of the version

10) add your name and email to the contributors field in package.json

11) submit a pull-request to the dev branch


See Also

1.1.1

9 years ago

1.1.0

9 years ago

1.0.4

9 years ago

0.3.9

9 years ago

0.3.8

9 years ago

0.3.7

9 years ago

0.3.6

9 years ago

0.3.5

9 years ago

0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.31

9 years ago

0.2.28

9 years ago

0.2.27

9 years ago

0.2.26

9 years ago

0.2.25

9 years ago

0.2.24

9 years ago

0.2.23

9 years ago

0.2.22

9 years ago

0.2.21

9 years ago

0.2.20

9 years ago

0.2.19

9 years ago

0.2.17

9 years ago

0.2.16

9 years ago

0.2.15

9 years ago

0.2.14

9 years ago

0.2.13

9 years ago

0.2.12-alpha

9 years ago

0.2.11-alpha

9 years ago

0.2.10-alpha

9 years ago

0.2.9-alpha

9 years ago

0.2.8-alpha

9 years ago

0.2.7-alpha

9 years ago

0.2.6-alpha

9 years ago

0.2.5-alpha

9 years ago

0.2.4-alpha

9 years ago

0.2.3-alpha

9 years ago

0.2.2-alpha

9 years ago

0.2.1-alpha

9 years ago

0.2.0-alpha

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago