prevent calling __bool__ for is_hydrated
This commit is contained in:
parent
211f9f3598
commit
7789118af3
@ -1763,7 +1763,7 @@ class OnLoadInternalState(State):
|
||||
# Do not app.compile_()! It should be already compiled by now.
|
||||
app = getattr(prerequisites.get_app(), constants.CompileVars.APP)
|
||||
load_events = app.get_load_events(self.router.page.path)
|
||||
if not load_events and self.is_hydrated:
|
||||
if not load_events and self.is_hydrated is True:
|
||||
return # Fast path for page-to-page navigation
|
||||
if not load_events:
|
||||
self.is_hydrated = True
|
||||
|
Loading…
Reference in New Issue
Block a user