DEV Community

Cover image for class and functional component in react
Gobinath Varatharajan
Gobinath Varatharajan

Posted on

class and functional component in react

The project help to understand the concept of useState, map and ternary operator in function component and using same functionality in class company

why more developer switch from class to hooks?
how to use them effectively by building a carousel?

LooK below

I have a list of images like

const sampleImages = [
Enter fullscreen mode Exit fullscreen mode

I have made the application both on hooks and class.check and work with them. I a welcome with feedback.

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git