README
Atom-iQ Core (@atom-iq/core)
Installing
- npm -
npm install --save @atom-iq/core - yarn -
yarn add @atom-iq/core
However, after it will be implemented in iQ CLI (
@atom-iq/cli), recommended way to start a project, will beiq project <project-name>command (ornpx @atom-iq/cli project <project-name>)
The Extendable Reactive Virtual DOM Renderer
Atom-iQ Core library is a main, required library of the Atom-iQ framework. It could also act independently, as lightweight DOM rendering library, but it's recommended to use it with additional, optional framework packages, that's making complete front-end ecosystem.
The Core library is including Reactive Virtual DOM Renderer, Component's state creation functions, utility for composing Middlewares (Renderer and Components extension) and main type definitions for the framework.
Starting the app
import App from './App'
import { initAtomiQ } from '@atom-iq/core'
const rvDOMSubscription = initAtomiQ()(<App />, document.getElementById('root'))