React At a Glance

--

Some have a misconception that React is a javascript “framework”. But a big no! React is a JavaScript “library”. It is not exactly a “framework”.

It can’t give a complete solution and you will often need to use more libraries with React to develop any full system. React is slim and it’s incredibly convenient to blend it with other 3rd party libraries.

Data is passed down the component tree in React. Props are used to transfer data from a parent component to a child component.

Parent component:

<div>
<Child color={red} text='name' />
</div>

In the child component, props are available under this.props.

Child component:


const {color, text} = this.props

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Mohammad Anisul Islam
Mohammad Anisul Islam

Written by Mohammad Anisul Islam

Software Engineer || Full Stack Developer || Technical Writer || Speaker

No responses yet

Write a response