How to create functional component in React | Microservice tutorial with Node js and React | Part 10

preview_player
Показать описание
In this video, I have created a functional component in React and integrated that with our Comments service to display already created comments in a list.

There are two main types of components in React. Class Components and Functional Components. Class components are ES6 classes and Functional Components are functions. The only constraint for a functional component is to accept props as an argument and return valid JSX.

We can create a functional component to React by writing a JavaScript function. These functions may or may not receive data as parameters.

Functional components are some of the more common components that will come across while working in React. These are simply JavaScript functions. We can create a functional component to React by writing a JavaScript function. These functions may or may not receive data as parameters. In the functional Components, the return value is the JSX code to render to the DOM tree.

#CodingHacks #ReactFunctionalComponent #NodeReactMicroservice
Рекомендации по теме
Комментарии
Автор

Thank you for this amazing microservice series. I haven't missed any video of this playlist. Waiting for more videos :)

jyotisingh
Автор

Thank you very much for this informative playlist

mikasaakerman
Автор

Thanks for this brilliant playlist, continue the good work and more power to you!!

vinayaknandikole
Автор

Getting ‘comments.map is not a function’

ericlindquist
Автор

can you create with database (MongoDB, react) with any new idea and more complex and also deployment so yea we can deep drive into microservice
by the way it was really great pilaylist thanks

fayyazali
Автор

Thank you, it is amazing series, but my react application was make infinite request to get Posts and Comments.

mateussilveira