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

Add dynamism through GHCJS #57

Closed
srid opened this issue Dec 7, 2019 · 0 comments
Closed

Add dynamism through GHCJS #57

srid opened this issue Dec 7, 2019 · 0 comments
Labels

Comments

@srid
Copy link
Owner

srid commented Dec 7, 2019

An otherwise "static" site might gain from being parts of the site being a bit dynamic.

For example, using highlight.js to highlight syntax on the fly. Or do some custom JS eval on the page.

Rib already allows the use of Haskell DSL to define the HTML and CSS of the site. It could do the same for JavaScript as well, through GHCJS.

And it might be worth considering replacing Lucid with (or adding support for) Reflex-DOM, and use the reflex library to implement this feature.

@srid srid added enhancement New feature or request planning labels Dec 7, 2019
@srid srid closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant