Skip to content
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

App.url field is always Nothing in elm-pages dev #490

Open
MartinSStewart opened this issue Oct 1, 2024 · 1 comment
Open

App.url field is always Nothing in elm-pages dev #490

MartinSStewart opened this issue Oct 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MartinSStewart
Copy link

I want to use url : Maybe PageUrl to handle query parameters on a page after it has loaded (no server rendering) but at least when I test it locally, url is always set to Nothing.

@dillonkearns dillonkearns added the bug Something isn't working label Oct 1, 2024
@absynce
Copy link
Contributor

absynce commented Oct 3, 2024

I verified this same behavior in elm-pages 2.1.9, as well.

In both 2.1.9 and 3.0.16, the url/fragments are available in init when using buildWithLocalState. But it’s always Nothing in view in static and local state pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants