In general I like descriptive variable names - however with JSX, I think because it's quite densely packed, I think it can be better to try to keep element names brief.
<JustForNonLoggedInUsers> is a great component 👍 I wonder about something more like <NoAuthWrapper>, since it wraps content for users who are not authorised by your backend.
Here's another opinion:
In general I like descriptive variable names - however with JSX, I think because it's quite densely packed, I think it can be better to try to keep element names brief.
<JustForNonLoggedInUsers>
is a great component 👍 I wonder about something more like<NoAuthWrapper>
, since it wraps content for users who are not authorised by your backend.