+ 1

Render as per situtaion in react

How to set the navbar such that it behaves differntly when logged in ?i mean about the tag and syntax .

7th Jan 2021, 8:01 PM
Shubhank Kulshreshtha
Shubhank Kulshreshtha - avatar
3 ответов
9th Jan 2021, 3:15 AM
Calviղ
Calviղ - avatar
+ 1
If (logged) return {... } else return {... }
7th Jan 2021, 8:24 PM
Stanislav Stasyuk
Stanislav Stasyuk - avatar
8th Jan 2021, 5:37 AM
Avinesh
Avinesh - avatar