You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
done-autorender automatically calls route.start() for you when it sets up your app’s view model. If you follow the can-route docs and call start yourself, your app won’t work because done-autorender will create a new route.data and call route.start() itself.
I think there are a couple possible warnings we could show that would help users understand this issue:
Warn if route.start() gets called a second time without first having been torn down.
Have done-autorender check whether start has already been called, and provide an error/warning if it has.
The text was updated successfully, but these errors were encountered:
done-autorender automatically calls
route.start()
for you when it sets up your app’s view model. If you follow the can-route docs and call start yourself, your app won’t work because done-autorender will create a newroute.data
and callroute.start()
itself.I think there are a couple possible warnings we could show that would help users understand this issue:
route.start()
gets called a second time without first having been torn down.start
has already been called, and provide an error/warning if it has.The text was updated successfully, but these errors were encountered: