React: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
=Variables=
=Variables=


<source lang="React" line="line">
<source lang="react" line="line">
  const myVar = (
  const myVar = (
   <h1>Love it</h1>
   <h1>Love it</h1>

Revision as of 05:29, 23 October 2019

Quick Reference

Variables

 const myVar = (
   <h1>Love it</h1>
 );
<?php
    v = "string";    // sample initialization
?>
html text
<?php
    echo v;         // end of php code
?>