MobX Store for LINE Frontend Framework state
npm i mliffx
In your entry file
import MLIFFXStore from 'mliffx'
mliffx.init()
It will be true if LIFF
is initialized.
It will be defined if LIFF
is failed to initialize.
It will return data store of user profile
It will return data store of accessToken
Example of calling value in DataStore
userProfile.value
value: T
Generic Type depend on datafetched: boolean
will be true if store is fetchedloading: boolean
will be true if store is fetching