Closed reisub closed 3 years ago
... and then I re-read the README and figured that this is described as a limitation 😅 Sorry for the issue, closing now!
mm, this is still a little bit confusing. Reading the official upgrade instructions this limitation doesn't seem to be mentioned. Do I understand correctly that booleans are the only worry here? Should mention something in the readme. Ideally would be an option, but not complaining, this tool has saved me so much time already - thank you!
edit: lol, the HEEX docs mention
Notice how you could simply use key={value}. HEEx will automatically handle special values such as false to remove the attribute or a list of classes.
But what are the special values? :)
Hi there, thanks for the nice tool - really speeds up converting templates to HEEX!
I ran into a small issue.
The input:
will wrap the elixir code into another level of string interpolation:
Ideally it should generate this: