Closed FicoPrieto closed 4 years ago
I tried using the boolean shorthand as referenced in the Pug and React documentation, but it doesn't seem to work.
For example: react-router's exact boolean property only works if I explicitly set it to {true}.
react-router
exact
{true}
BrowserRouter Nav Route(path="/" component="{Home }" exact) // 🡸 Route(path="/about" component="{About }" ) Route(path="/contact" component="{Contact}" )
BrowserRouter Nav Route(path="/" component="{Home }" exact="{true}") // 🡸 Route(path="/about" component="{About }" ) Route(path="/contact" component="{Contact}" )
@FicoPrieto I just modified it. Update the module to 1.0.85 to use 'boolean shorthand'.
Awesome, thanks!
I tried using the boolean shorthand as referenced in the Pug and React documentation, but it doesn't seem to work.
For example:
react-router
'sexact
boolean property only works if I explicitly set it to{true}
.Boolean Is Not Applied
Boolean Is Applied