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
boost-icl
double-dispatch
ssl-certificate
tensorflow-ssd
datastage
q-value
pyasn1
databound
bacula
socket.io-redis
crfsuite
r-recipes
web-services
userlocation
custom-operator
checkmarx
robustness
full-text-catalog
katalon-recorder
aws-databrew
gcov
key-pair
ranking
asynctest
git-merge-conflict
tracker-enabled-dbcontext
overscroll
scripting-bridge
mindsphere
data-collection