mardi 24 juillet 2018

Best way to use react component

In react we can use 3 different way to create a component.

1.const App =()=>{...}

  1. const App = React.createClass({...})

3.class App extends React.Component{...}

Which the best solution to define a component?




Aucun commentaire:

Enregistrer un commentaire