-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple BeamLocations with same subclass breaks page rendering. #658
Comments
Yea, this code example should work, its weard that is doesn't. I will look in to it 👀 |
Describe the bug
If you have two ore more BeamLocations that are of the same subclass, page rendering is broken. Navigating to links works, but the content on screen doesn't change.
Beamer version: 1.6.0
To Reproduce
This creates two instances of
SimpleLocation
, which is just aBeamLocation
where you pass in a path pattern, a key, and a child. The two SimpleLocations ought to allow routing to /a and /b, but it doesn't work. If you try to click the button to go to "/b", the URL changes if you're on Web, but the content of the page doesn't change.If you copy-paste the
SimpleLocation
class to aSimpleLocation2
class, and change the "BScreen" route to use SimpleLocation2, the app will start working as expected. Somehow having two BeamLocations that are instances of the same class breaks page rendering.Expected behavior
BeamLocations should work.
The text was updated successfully, but these errors were encountered: