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

Integrating reflex-dom with Yesod #466

Open
LukeTemp opened this issue Feb 21, 2024 · 0 comments
Open

Integrating reflex-dom with Yesod #466

LukeTemp opened this issue Feb 21, 2024 · 0 comments

Comments

@LukeTemp
Copy link

In Yesod we have the WidgetFor Monad, within which we can use .julius files to interpolate Haskell values into Javascript for dynamic webpages. For more frontend-heavy pages, it would be nice to use a type-safe DSL rather than relying on Javascript. Specifically, it would be nice if we could add support for timelines in some extension of the WidgetFor monad, e.g., ReflexWidgetFor, rather than having to separate the reflex App from the Yesod widgets and communicate through a port.

Has anyone got experience or thoughts on the complexity of integrating reflex-dom with Yesod in this way? I've used Yesod for a while now but I've only just started learning about reflex, so any comments or thoughts on this are appreciated.

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

No branches or pull requests

1 participant