dzintars / front

Test setup (Don't use!) Dev server URL available while i'm developing.
https://front.oswee.dev
1 stars 1 forks source link
conventional-commits custom-elements eslint example-project husky lint-staged lit-element lit-html prettier redux redux-saga scss smacss typescript web-components webpack4 yarn2

Front-end SPA application

This is my try to set up complete front-end application. This is an early WIP. DON'T USE IT!

Stack

Technology stack I choose for this project:

Explicit is better than smart.

I like when thing does one thing and does it well. And so I choose to use Redux-Ducks and Re-Ducks for code organization in modules where every module is responsible only for one domain.

Similar approach I choose to use for components by splitting components in several categories. For example presentational components and containers which manages only data layer. Still researching this aspect, but I am almost 100% sure that I will use this approach.

Reusable elements should be managed in separate repository and published in NPM registry. I have separate monorepository for that. It is possible to set up 2 Yarn/Lerna workspaces in this same repository, but I am not willing to do so. Design System should have it's own repository.

How to use

Yarn 2 Berry and PnP is something pretty new, so I am not sure will current version of this project will run automatically aut of the box. I had not tested yet. Once I will get all core pieces working nice for me, i will look into yarn install workflow.