UNPKG

@skele/classic

Version:

Skele is an architectural framework that assists with building data-driven apps with React or React Native.

19 lines (11 loc) 569 B
# Kernel A kernel represents the app itself. It consists of modular pieces called subsystems, responsible for different functionalities of the app. ## `create(subsystems, initData, [config])` Creates an app kernel using a given array of subsystems, initial structure of the app and an optional configuration. ### Usage ```javascript import { Kernel, defaultSubsystems } from '@skele/classic' import navigationSubsystem from './customSubsystems/navigation' const initData = { kind: 'app' } Kernel.create([...defaultSubsystems, navigationSubsystem], initData) ```