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

JSX #7

Open
JohnCoene opened this issue Oct 20, 2021 · 1 comment
Open

JSX #7

JohnCoene opened this issue Oct 20, 2021 · 1 comment

Comments

@JohnCoene
Copy link
Member

Are we sure about this?

# HTML + JS: welcome JSX πŸ‘©β€πŸ«

ES5 comes with string interpolation: this works too

const inter (title) => {
  return `<div class="title">${title}</div>`;
}
@DivadNojnarg
Copy link
Member

We can just say it is A JS syntax extension, more convenient than interpolation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants