We are developing mobile app for end users and admin web app for employees . We are planning firebase mobile authentication for customer mobile app and microsof
What is the best way to conditionally render routes in react-router based on user role. I have a case where not all roles have permission to view certain routes