# Functional component in React

**URL:** <https://forum.kirupa.com/t/functional-component-in-react/649980>\
**Category:** web dev\
**Created:** [December 12, 2021, 1:10pm UTC](https://forum.kirupa.com/t/functional-component-in-react/649980 "2021-12-12T13:10:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [December 12, 2021, 9:41pm UTC](https://forum.kirupa.com/t/functional-component-in-react/649980/4 "2021-12-12T21:41:58Z")

</div>

Can you post the version you tried?

Also, this earlier post seems similar to what you are looking for: [Refactoring a class component to Functional, Invalid value](http://forum.kirupa.com/t/refactoring-a-class-component-to-functional-invalid-value/649866)

---

_[View the full topic](https://forum.kirupa.com/t/functional-component-in-react/649980)._
