jcourson8 / ResourceProtectedRoute

0 stars 0 forks source link

How to update this for the 0.5.x version of Leptos #1

Open kingsleyh opened 1 year ago

kingsleyh commented 1 year ago

Hey

The latest 0.5.x version of leptos refactored the reactive system to completely remove cx and Scope - how can this code be updated to work with the latest?

kingsleyh commented 1 year ago

seems like you can no longer construct a RouteDefinition because part of that struct is now private

kingsleyh commented 1 year ago

It was made visible again: https://github.com/leptos-rs/leptos/discussions/1911