Skip to content
ArtComponents is a complete refactor, simplification and extra awesome from ArtReact which came in turn from Facebook React.js
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
perf
source/Art.Components
test
.gitignore
.travis.yml
NOTES.md
README.md
art.build.config.caf
index.caf
index.js
package.json
register.js
webpack.config.js

README.md

Art.Components

Initialized by Art.Build.Configurator

Install

npm install art-components

ArtComponents vs ArtReact vs React.js

Generaly, ArtComponents is designed to work just like React.js. There is some evolution, though, which I try to note below.

Component API

preprocessState

Often you want to apply a transformation to @state whenever it is initialized OR it changes.

An example of this is FluxComponents. They alter state implicitly as the subscription data comes in, and and component instantiation. preprocessState makes it easy to transform any data written via FluxComponents into a standard form.

You can’t perform that action at this time.