Answer the question
In order to leave comments, you need to log in
How to properly split a project into components?
Hi all.
There is a project, promo site, beauty, page transition, etc. The site consists of the following elements:
1) preloader
2) preroll video
3) header
- logo
- burger
- page title
- pop-up menu
4) footer
- mute the site
- a button to go to another page
5) index page
- fullpage js
- slick js slider
Can you use this structure as an example to explain how to think correctly when breaking a project into components? Or maybe there are examples of good manuals?
Answer the question
In order to leave comments, you need to log in
Everything is simple.
* If a piece of code looks like a separate entity - select it as a component
* If a piece of code is used in more than one place - select
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question