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
redux-firestore
core-text
adapt
rparallel
getopenfilename
flutter-padding
ag-grid-ng2
react-native
hosted
jsbundling-rails
auto-import
member-function-pointers
avassetwriterinput
libigl
openvino
ltac
plsql
ios-shortcut
database-deployment
jrubyonrails
num-lock
x509
postgresql-13
actioncontext
dart-2
xtrareport
ardalis-cleanarchitecture
3-tier
git-worktree
dbisam