Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would you be able to use template strings inside the template if this was the case?


Yes, template strings can be nested (well, they can using Babel).


This works for me in the latest Chrome too:

    `${`test`}`


Good point.

Since JSX is just JavaScript, it doesn't have any problems with nesting.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: