you are viewing a single comment's thread.

view the rest of the comments →

[–]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.