react-ui-abstraction

0.2.0 • Public • Published

UI Abstraction

This is a library to help you to build configurable React App.

It provides a set of base components and patterns.

NPM

Travis CI Quality dependencies devdependencies semantic-release

Paradigm

A user interact with a view using mouse and/or keyboard which send events from a content and that interaction dispatch an action. That action may change the current view or the content displayed.

Definitions

We have the following objects to build a user interface:

  • views
  • actions
  • content types

Let's talk about each of them.

Views

Views are special React component. They are high level component which has the following responsability: They must dispatch props to configurable components.

They are called by UI abstraction library from the router and connected to the store throw the settings.

So a view is can be a pure component.

Then view will be composed of react components that can get their props.

Actions

Actions are redux actions.

Content Types

Internals: The registry

You will find the the registry as the central piece of ui abstraction. It's just a key/object registry and it's used with prefix to store the following:

  • action creators (function)
  • views (React Component)

How to use it

Readme

Keywords

Package Sidebar

Install

npm i react-ui-abstraction

Weekly Downloads

1

Version

0.2.0

License

Apache-2.0

Last publish

Collaborators

  • jmfrancois