React - functional component

0 votes
80 views
added Jul 17, 2019 in React by LC Marshal Captain (25,770 points)
import React from 'react';

function App() {
  const hillo = 'Hi Functional Component!';

  return <h1>{hillo}</h1>;
}

export default App;

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...