Components Javascript

Madiwa Simon
1 min readAug 1, 2021

Using components in JS and its advantages.

What are Components in React? Components are independent and reusable bits of code. Think about like Javascript functions but independent if one of the components are having errors the ones not connected to the malfunctioning component will not have any errors. Components are also building blocks of a React App, it describes how the UI sections should appear, what properties should be pass through, and what should be returned.

What are the advantages of using React Components?

Pros and Cons of ReactJS

Easy to Learn and USe. ReactJS is much easier to learn and use. …

Creating Dynamic Web Applications Becomes Easier. …

Reusable Components. …

Performance Enhancement. …

The Support of Handy Tools. …

Known to be SEO Friendly. …

The Benefit of Having JavaScript Library. …

Scope for Testing the Codes.

Link for more React information

for a video to learn beginners react i suggest this video.

TRY USING REACT AND HAVE FUN.

--

--