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
flutter-health
taocp
energyplus
p8
rampart
micronaut-test
windows-search
malsup-ajax-form
static-web-apps
syntactic-sugar
excel-4.0
team-explorer
dev-c++
splash-screen
db2-zos
nested-set-model
android-networking
branding
fody
nested-select
sbcl
.net-runtime
geokit
privoxy
database-scan
.net-2.0
fluentvalidation-2.0
wpf-grid
babylonjs
numpy-memmap