Answer the question
In order to leave comments, you need to log in
How is the layout process on React?
I wanted to know how in large teams where they write on React they make up a project. Well, when I worked alone on React, I immediately divided everything into components, building the project architecture.
But how does this happen if there is a team work? In the same place, all 3-4 people will not conditionally work on layout, they will give this duty to one person. And how will this person work? At first, everything will be laid out in one html file, and then the team will divide it all into components, or will the one who is responsible for the layout divide everything into components in advance?
Answer the question
In order to leave comments, you need to log in
In the same place, all 3-4 people will not conditionally work on layout,
You will make up in the same way only what is relevant to your task. Conditionally: you make a new sidebar, and your colleague makes a new header. And each of you make the appropriate logic, styles and layout.
It makes no sense to work on one section of code at the same time, there will be many conflicts
Xs like others, but we have one who makes layouts and who writes js - different people. We have a component approach, so the one who makes the layout can create a react wrapper for the future component and simply shoves his markup into return. And only then another person (js-profile) writes the logic, interaction with the back, of this component and displays it where necessary.
There were no difficulties in terms of dividing work according to this principle, the project is 200+ people, it has been going on for 8 years. You work on a component in a branch, then push it to master.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question