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

Does JSX count as 'string interpolation'?


By definition, no. JSX is syntax sugar to some underlying function that transforms a JSX element (made by tagName, props, children) into something else. That could be a string, but usually it produces an abstract node representation, an object that collects those three parts.




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

Search: