select-name / sharead-frontend

Book rental service
https://dev-sharead.netlify.app/
41 stars 14 forks source link

Split Header-widget by features #8

Open azinit opened 2 years ago

azinit commented 2 years ago

At the moment there are a lot of redundant logic at widget level

It should be decompose as independent slices (choose any name what you prefer):

You could choose any another decomposition way, but the main requirement - keep at Header only that logic, that it need

image

For any question ping me 🚀

azinit commented 2 years ago

As a good example of header decomposition:

https://feature-sliced.design/docs/reference/layers/widgets