Question about nested routes, how to replace <div tabindex="-1" role="group" style="outline: none;"> with custom component with styles for nested routes (we have this logic for routes, but how about nested components)?
as you can see on Router we have class avadakedavra, I want do the same for <Home path="/"> I want to see class avadakedavra on the element (sub route of home) that has this <div tabindex="-1" role="group" style="outline: none;">
Have a question?
Question about nested routes, how to replace
<div tabindex="-1" role="group" style="outline: none;">
with custom component with styles for nested routes (we have this logic for routes, but how about nested components)?here is example https://codesandbox.io/s/reach-router-starter-v1-forked-w7eyj?file=/src/index.js
as you can see on Router we have class avadakedavra, I want do the same for
<Home path="/">
I want to see class avadakedavra on the element (sub route of home) that has this<div tabindex="-1" role="group" style="outline: none;">