Replies: 1 comment 1 reply
-
| Someone already raised this before. As Pedro Cattori states here, they're planning to add type-safe handle (and maybe others). So the data label wouldn’t be appropriate. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Since v7.9.4 we have
unstable_useRoute, but have we considered calling ituseRouteDatainstead?What it does is basically bundle
loaderDataandactionDataand nothing more, so calling it withDataseems clearer and better for consistency, while leaving room for the catch-alluseRoutefor the future, whatever that could be.Beta Was this translation helpful? Give feedback.
All reactions