Ackee Frontend Tookit
Set of tools, libraries and all stuff useful for frontend development in Ackee having DRY in mind.
How to use
- Install
It's not published yet so now the best way to install it is using
yarn add ackee-frontend-toolkit
or
npm install ackee-frontend-toolkit
. - Import
Depending on your prefered module managment system, you can use directory
ackee-frontend-toolkit/lib
(CommonJS) or ackee-frontend-toolkit/es
(ES2015) to import things you need.
You can choose one of three ways for importing:
- Import partially
import loadable from 'ackee-frontend-toolkit/HOC/loadable';
loadable(...)
- Import from namespace
import * HOC from 'ackee-frontend-toolkit/HOC';
HOC.loadable(...)
- Import from full package
import * ackee from 'ackee-frontend-toolkit';
ackee.loadable(...)
How to develop
yarn build
or npm run build
make sources prepared to use.
What's inside
High order components
Helpers
Sagas
What we use
We don't want to invent a wheel every day so we are trying to use as much vendor components, utilities and helpers as possible. We remarked the approved ones to don't let us forget them :)