jokio 🃏
simple functions for creating complex apps
Quick Start:
just run:
yarn create jokio-app myapp
for detailed information and all options please visit create-jokio-app repository.
Idea:
In every process we need three different objects:
- Props
- State
- Context
jokio provides following structure to describe processes and make it composable
runinitialState, initialContext
Functions:
- compose
- run
- runWith
- log
- timer
- pubsub
- uniqueId
Example:
const process1 = { return ...state info: stateinfo + ' hello' } const process2 = { return Promise} const initialState = info: '[Cool App]' const run =
Related Projects:
Yeoman
You can also use yo generator
install once:
npm i -g yo generator-jokio
create app:
yo jokio
Note: this command will not create a new folder, it will generate files in current folder
Badge:
[![engine: jokio](https://img.shields.io/badge/engine-%F0%9F%83%8F%20jokio-44cc11.svg)](https://github.com/jokio/jokio)