React (software): Difference between revisions

Content deleted Content added
Akd3257 (talk | contribs)
18bwhite4 (talk | contribs)
Class-based components: Removed off-topic sentence.
Line 96:
}
</syntaxhighlight>Where class components are all about the use of classes and the lifecycle methods, functional components have hooks to deal with the state managements and other problems which we have face while writing code in React.
 
Its not about which language to prefer over which, its about the ease of writing and understanding it which will make us a better developer
 
===Virtual DOM===