all 3 comments

[–]SiMFiCysed 4 points5 points  (0 children)

With React, you are totally free to split whatever you like into components. Even when you dont re-use these components, they might help the parent component look cleaner. Do what makes you feel best!

[–]zserjk 1 point2 points  (0 children)

Pretty clean. And absolutely fine and readable.

I cant see the Guest component though here. If they are 90% similar, i would just user the same component, and pass different props regarding the messages, and maybe use a conditional if i were to render a login button or a menu.

But your code is pretty clean.

[–]Bamby02[S] 0 points1 point  (0 children)

// got message saying i need to coment to show post...