Can I inject other programming languages besides JavaScript into JSX?

Question

Can I inject other programming languages besides JavaScript into JSX?

Answer

No, we cannot inject other programming languages other than JavaScript into JSX. We can only inject vaild JavaScript expression into JSX by wrapping the JS expression in curly braces.

11 Likes