Sen descrición

Snow e862bc4359 Merge branch 'develop' of nicogit.us.to:asdf123101/common-ui-components into develop %!s(int64=8) %!d(string=hai) anos
public 2f6e2222d6 Cleaned the html file %!s(int64=8) %!d(string=hai) anos
src e25ee88ff7 Updated style. %!s(int64=8) %!d(string=hai) anos
.gitignore 69d5fb9514 Ignores the tern and emacs related temp and conf files. %!s(int64=8) %!d(string=hai) anos
README.md d1005b50b9 Updated read with some thoughts %!s(int64=8) %!d(string=hai) anos
package.json 98a15f71c7 Switched to yarn %!s(int64=8) %!d(string=hai) anos
yarn.lock 98a15f71c7 Switched to yarn %!s(int64=8) %!d(string=hai) anos

README.md

This project is a collection of common UI components powered by React.js.

Install

In the source folder:

npm install
npm start

A development server will be ready and listen on localhost:3000.

Components

  • Toggle
  • Tabs
  • Simple counter managed by Redux
  • Modal
  • Slide Show

Thoughts

Managing the state of components in an application is made easy by React. State change triggers event function that will be propagated automatically to children components. Redux reinforces this pattern by enforcing the principle of single source of truth. In the end, with React-Redux model, UI management evolves to fancy manipulation of a single client side data base.