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
workload-identity
gnu-make
generate-scripts
gorouter
gaussian-mixture-model
aasm
realm-java
xtratreelist
sendgrid-api-v3
pigpio
dtd
git-mv
heterogeneous-list
fluentvalidation
numpy
scoped
dma
jenkins-api
screen-grab
pyramid
azure-free-services
servlet-container
bitcoin-testnet
smartgit
multiuserchat
rce
pci-compliance
wmd
aem
fido-u2f