Skip to content

Integrating reflex-dom with Yesod #466

@LukeTemp

Description

@LukeTemp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions