Future of template literals? #1761
miloofcroton
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a little confused by this page: https://compiledcssinjs.com/docs/deprecated-features#template-literals
So, you still support this feature but "recommend" not using it. Will this be removed in the future?
For the record, I support template literals because it behaves exactly like jsx: it's the syntax of the default language while offering javascript functionality. In other words, jsx looks like html and can use literal html as valid code, but you can manipulate it with javascript. CSS template literals look like css and can use literal css as valid code, but you can also use the power of template literals.
Beta Was this translation helpful? Give feedback.
All reactions