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
spring4shell
clickhouse-go
named
multiscaleimage
azure-spring-cloud
handwriting
logfile
paw
o-d-matrix
raytracing
event-listener
hyperfilesql
activerecord-postgis-adapter
azure-pipelines-release-task
gridpanel
infinite-recursion
ietf
oidc-client-js
aws-cognito
python-unittest.mock
trust-zone
export-to-xml
order-of-execution
intellij-idea2017
windows-server
boundaries
codemod
fpic
time-format
nsdocumentdirectory