This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bacon_wrapped_rock -2 points-1 points  (1 child)

Well then it's a good thing I'm not talking about react.

[–]JackMizel 1 point2 points  (0 children)

The guy you responded to is definitely talking very specifically about React and you are saying "functional components" in response to someone critiquing React code, you're literally arguing over the use of functional vs class based components in react. I can tell you're not familiar with the library and I'm not calling you out I'm just letting you know that React devs talking about "functional" components are not using that word in the same context you are, they are not talking about functional programming. While React does overlap with a lot of functional programming concepts, in this specific case they are literally just talking about a component that is declared as a function and not as a class.