brisa-build / brisa

The Web Platform Framework.
https://brisa.build
MIT License
449 stars 12 forks source link

playground: nav back btn does not work #591

Closed aralroca closed 4 weeks ago

aralroca commented 4 weeks ago

In the playground, in order not to break the Monaco editor, we are avoiding the SPA navigation once we are inside the playground. In doing so, when navigating to another page it works with the native navigation, and everything ok, but instead, if you press the Chrome back button, it tries to load the old SPA page and it doesn't work. This fix has to be done from the playground page itself, forcing it not to use SPA in this case to do the back action natively.