- Reactowe library,
- External library,
- Main components,
- Children components,
- Namespaces,
- utils,
- routes,
- constants,
- styles,
- import * as C from '@constants/index'
- import * as S from './styles'
- import * as UF from '@utils/useful-functions'
- import * as A from '@utils/arrays'
// not needed '' prettier fixed this lines please write only star
Have all readonly values, something like labels, names, routes
Have all types from this app, there must me set a declartion types, but if you have one ore two parameters in function you can typed there.
First put strings, numbers, booleans, and finally functions.
https://www.npmjs.com/package/node-prune
install this package global on your computer and when you are add new pacakges then please use this, because this clean/remove not nesseary packages and bundle is a less size
- npm install -g node-prune
- use script postinstall'
du -sh ./node_modules/* | sort -nr | grep '\dM.' -> linux or os find ./node_modules/ -printf '%s %p\n'|sort -nr|head -> windows