Let's React To Ten ReactJS Things

const App = () => {
const arr = [1, 2, 3, 4, 5]
return (
{arr.map(num => (<p>{num}</p>))
const Title = ({name}) => {
<h2> { name || "no name"} </h2> //the name is a variable here!
{anyArray.map( elem => (<h3>{elem}</h3>))}
{ isSmallScreen ? <Component1/> : <Component2/> }




ReactJS developer | Full-stack Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

React Class and Functional Components

Webpack: Part-2

Command Line Notes

Top 7 React Libraries and Frameworks to Look Out for in 2021

Callbacks, Promises, Async/await — concurrency in javascript

Understanding The Destructuring Assignment in JavaScript

Build your first PWA in an hour — A Covid19 Tracker using ReactJs

Export Excel files client-side

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Umar Faruq Chowdhury

Umar Faruq Chowdhury

ReactJS developer | Full-stack Developer

More from Medium

Why React.js ?

useState React Hook

A series of images with labels for: picture hooks, coat hook, fish hook, curtain hooks, react hooks (with a developer facedown on his laptop), and left hook (with a boxer punching a bag).

Learning reusable REACT