React: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
<h1>Love it</h1> | <h1>Love it</h1> | ||
); | ); | ||
</source> | |||
<source lang="php"> | |||
<?php | |||
v = "string"; // sample initialization | |||
?> | |||
html text | |||
<?php | |||
echo v; // end of php code | |||
?> | |||
</source> | </source> |
Revision as of 05:23, 23 October 2019
Quick Reference
Variables
<source lang="React" line="line">
const myVar = (
<h1>Love it</h1>
);
<?php
v = "string"; // sample initialization
?>
html text
<?php
echo v; // end of php code
?>