store

v0.1.12arrow_drop_down
v0.1.12
v0.1.11
v0.1.10
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
STATUS
Passing
DOWNLOADS
528
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
1 contributor
Install store as a package?
Copied
npm i @bit/clui.nui-ui.store
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

Description

Redux is a state container for JavaScript apps, often called a Redux store. It stores the whole state of the app in an immutable object tree. To create a store for your application, import StoreProvider and wrap it ouside your application.

Import from bit.dev

https://bit.dev/clui/nui-ui/store

yarn add @bit/clui.nui-ui.store

import { StoreProvider, goToStep, resetSteps, initSteps } from '@bit/clui.nui-ui.store';

Available functions

Steps

NameDescription
initSteps()-
resetSteps()-
goToStep(id: string)-
scrollToStep(id: string)-

Activity

NameDescription
initActivity()-
addSubmittedActivityQuestion(submittedQuestion: SubmittedActivityQuestion)-
getActivityResult()-
getActivityQuestions()-
Help and resources