Skip to content

Instantly share code, notes, and snippets.

@charlesfreeborn
Created February 5, 2018 17:10
Show Gist options
  • Save charlesfreeborn/defdd10e3841fb4d7296d3cbb7a3f5ef to your computer and use it in GitHub Desktop.
Save charlesfreeborn/defdd10e3841fb4d7296d3cbb7a3f5ef to your computer and use it in GitHub Desktop.
Placing JavaScript expressions inside of JSX.
const simpleArithmetic = <p> The sum of 45 and 50 is {45 + 50}</p>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment