@indoqa/react-app
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

Indoqa React Application

A component that provides a ready-to-use setup of Redux, react-router, redux-observable and Fela.

Motivation

Working on different react applications, we ended up writing the same initialization code again and again. To avoid this duplicity, we extracted this component that covers middleware configuration, routing, Fela and dev tool setup. Only app specific routes, reducers, epics and a Fela configuration need to be passed as props.

Changelog

Learn about the latest improvements

Features

Usage

ReactDOM.render(
  <IndoqaApplication history={history} store={store} renderer={renderer}>
    <App />
  </IndoqaApplication>,
  rootEl,
)

Example

See indoqa-react-redux-ts for an example of how to setup the store, the history and the fela renderer with hot-reload enabled.

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @indoqa/react-app

Weekly Downloads

0

Version

1.4.0

License

Apache-2.0

Unpacked Size

21.7 kB

Total Files

9

Last publish

Collaborators

  • rpoetz
  • mepheser
  • sdolg
  • aeibner