React is a javascript library for building user interfaces. React is used to create an awesome user interface.
History: Designed by Jordan Walke (software engineer at Facebook)
React was open sourced at JS conference.
React uses Component Based Approach i.e every application during development in React will be made up of pieces called Components.
Example of component:
import React from react;
function card()
{
return(
<div>
<h1>React JS Example</h1>
<p>iqdqidididy idyweiweidy weid weidi</p>
</div>)
}
export default card;
Now this code can be included in UI just by calling the function card().
Web Link: https://reactjs.org/
import React from ‘react’;
import Card from ‘./card’
function App()
{
return(
<div>
<Card/>
<Card/>
<Card/>
<Card/>
<Card/>
</div>
);
}
export default App;
What should be learn before learning ReactJs: