the context
in the onEnter
is callback on the Route definition returns undefined
on first-load during runtime
#1529
Labels
bug
Something isn't working
Describe the bug
When first loading,
onEnter
runs beforeloader
andcontext
inonEnter
is always undefined.Your Example Website or App
https://stackblitz.com/edit/github-h2bsvy
Steps to Reproduce the Bug or Issue
context from onEnter undefined
andcontext from loader {test: 'abc'}
/about
page and back to/
, the console outputcontext from loader {test: 'abc'}
andcontext from onEnter {test: 'abc'}
Expected behavior
The application loaded and the console output
context from loader {test: 'abc'}
andcontext from onEnter {test: 'abc'}
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: