Skip to content

Is there any way to embed JSX like DSL or equivalent in Gleam? #1448

Discussion options

You must be logged in to vote

Hello!

There's no XML literal syntax in Gleam, you'd have to use a function based API. One such example can be found here: https://github.com/JohnDoneth/gleam-vdom

Also, can you please share what things do not work well and/or not supported when compiling the code to JavaScript?

What do you mean?

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@mistyharsh
Comment options

@lpil
Comment options

lpil Jan 7, 2022
Maintainer

@lpil
Comment options

lpil Jan 7, 2022
Maintainer

@mistyharsh
Comment options

@lpil
Comment options

lpil Jan 7, 2022
Maintainer

Answer selected by mistyharsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants