Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Fetch directives scripts after client-side navigation #153

Closed
SantosGuillamot opened this issue Feb 20, 2023 · 0 comments · Fixed by #164
Closed

Fetch directives scripts after client-side navigation #153

SantosGuillamot opened this issue Feb 20, 2023 · 0 comments · Fixed by #164

Comments

@SantosGuillamot
Copy link
Contributor

In the same way we support css in client-side navigation, new scripts should be fetched when navigating. Right now, if we navigate to a page with a new interactive block that wasn't present on the initial page, it may not work as expected, as the behavior defined in the store of that particular block won't be available.

For example, in this movies demo, if we land on the homepage and navigate to a movie page, the media tabs (a block only present in the movies pages) won't work because the actions needed haven't been defined.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant