Opinion for components structure
Unanswered
Indian oil sardine posted this in #help-forum
Indian oil sardineOP
Looking at this simple illustration, i need an opinion on how would you split it up into components. each of section 1 and section 1's button require a loading state of its own. it is possible to keep all the state and logic in the same page component, However that is going to cost you maintainability.
My goal of this, is not making the pieces super-reusable, all i worry about in this case is being able to maintain the logic and state of each piece in this page by going through them, not by searching for their code in a single page (where you can throw code in any order).
My goal of this, is not making the pieces super-reusable, all i worry about in this case is being able to maintain the logic and state of each piece in this page by going through them, not by searching for their code in a single page (where you can throw code in any order).