mwhite192 / groupomania

Bulild a Full Stack solution
0 stars 0 forks source link

Log In Screen #2

Closed mwhite192 closed 1 year ago

mwhite192 commented 1 year ago

@AccessiT3ch - Hey again Conor! My second question is was it correct/best to create a component for each 'item' of the log in screen? There is a component for all buttons, forms, and images. I just want to make sure my thought process is correct as I was thinking its best to create a component for each element and them import them to the App.js file.

Screenshot 2023-05-08 at 11 20 58 AM
AccessiT3ch commented 1 year ago

@mwhite192 I think that sounds just fine, ultimately deciding where / how to delineate UI into components and subcomponents is a bit of a balance of a couple factors.

I find navigating this balance to be an ongoing process most of the time :)

mwhite192 commented 1 year ago

@AccessiT3ch - I think this is something we might have to talk about the session because I am a little confused. Seeing it in my code might help me to better understand how to find the balance between components and subcomponents. In terms of size and scope, I understand that because my footer isn't that big as it is essentially a button that performs a function and an image.

AccessiT3ch commented 1 year ago

Fortunately there's no wrong way to start, and a lot of this becomes more clear as we develop the functionality :)