Does the separation of components?

Hi all. Does the separation of the components and whether to make such transfer of props??
June 3rd 19 at 19:06
1 answer
June 3rd 19 at 19:08
Does the separation of components

You would show something more complete... you Have there is only 85 lines of code, and you're worried how well the components look like. SERIOUSLY??!

is it right to make such transfer of props??

Doubtful. Why manually go through messing around with four values? Suddenly tomorrow it will be necessary to make 5 or 8 or 23 - and will copy-paste? Put them in a separate object and work with that object, like so.
1. Code ripped out of the context of the project. The project just can't throw.
2. Thank you. - ludwig33 commented on June 3rd 19 at 19:11

Find more questions by tags React