This is a little bit "hipster" React project, using a kind of not usual patterns in his scope. However, I think that should be a great choice for a lot of reasons. The stack is following:
- React
- Redux (with ducks concept)
- Jest
- Enzyme
- ESLint (with Airbnb config included)
- Webpack
- Webpack-dev-server
- Styled components
- Flow
Besides that, the project is still missing some tools in stack that I will implement soon. Including the following:
- i18n (probably I'll use react-intl)
You're able to import everything using modular paths
With
components/resource
instead of../../components/resource
It's completely optional :)
Just take care with linter errors. Adding an ignore comment or finding a real solution and sending a Pull Request ;)
The source code has this follow structure:
├── components
│ ├── button.js
│ └── section.js
├── example
│ ├── duck.js
│ └── view.js
├── index.js
└── reducers.js