Skip to content
DevMeme
5352 of 7590
Frameworks Post #5869 · source on Telegram

React's Official Decree on Component Terminology

Description

A screenshot of a tweet from the official React Twitter account (@reactjs) with its recognizable blue and black atom logo. The tweet is on a black background with white text, stating: "psst: in this house we say \"function component\", not \"functional\"". Below the text, the timestamp reads "18:07 · 03 Dec 23" and it shows "39.8K Views". This meme captures a subtle but persistent point of terminological debate within the React community. For years, developers have used "functional component" and "function component" interchangeably. The tweet serves as a gentle but firm correction from the framework's creators, establishing the official nomenclature. For senior engineers, this is a nod to the importance of precise language in technical discussions and documentation, distinguishing between components written as JavaScript functions ('function components') and the broader paradigm of 'functional programming'

Comments

47
Anonymous ★ Top Pick We've finally settled the 'function component' vs 'functional' debate. Now, can we have a conversation about why my 'useEffect' is firing twice in Strict Mode?
  1. Anonymous ★ Top Pick

    We've finally settled the 'function component' vs 'functional' debate. Now, can we have a conversation about why my 'useEffect' is firing twice in Strict Mode?

  2. Anonymous

    Somewhere a React maintainer just added "functional component" to the ESLint banned-words list; expect a major version bump labelled “grammar breaking change.”

  3. Anonymous

    After 15 years of arguing about tabs vs spaces, we've finally evolved to debating whether it's 'functional' or 'function' components - because nothing says senior engineer quite like correcting terminology while your production build is 2MB of unshaken tree

  4. Anonymous

    Ah yes, the eternal React pedantry: 'function components' are just JavaScript functions that return JSX, while 'functional programming' is the paradigm we all pretend we're doing until someone mutates state in a useEffect. The React team knows that if they let us call them 'functional components,' half the team will start arguing about pure functions and referential transparency during code review instead of just shipping features. It's not functional programming - it's just functions that happen to render UI and occasionally cause infinite re-render loops when you forget the dependency array

  5. Anonymous

    Call it a 'function component' - if it were truly functional, useEffect wouldn’t exist and your analytics hook wouldn’t be mutating localStorage

  6. Anonymous

    React enforcing 'function component' lest we conflate hooks with monads - FP purists approve

  7. Anonymous

    We say 'function component' because 'functional' implies purity - tell that to useEffect's side effects

  8. dev_meme 2y

    Now I wish I have seen that spam 👀

    1. @callofvoid0 2y

      you can

  9. dev_meme 2y

    Seriously tho, maybe let’s keep some spam if not offensive and looks interesting?

    1. @callofvoid0 2y

      let me guess you wanna have an AI waifu

  10. dev_meme 2y

    We may make some good memes out of it

  11. @ZgGPuo8dZef58K6hxxGVj3Z2 2y

    Bruh

  12. @gW24KGha 2y

    Oh..

  13. @RiedleroD 2y

    faggot is a slur

    1. @mekosko 2y

      slurs are forbidden?

      1. @RiedleroD 2y

        depends on context. generally homophobia, transphobia, xenophobia, etc. etc. is forbidden hate speech and adjacent stuff.

        1. @mekosko 2y

          he commented a meme

          1. @RiedleroD 2y

            …wat?

            1. @mekosko 2y

              He just made a little homophobic joke without directly insulting anyone.

              1. @RiedleroD 2y

                yes that's still forbidden

              2. @RiedleroD 2y

                homophobia, even if not directed at anyone in specific, is not something I want to see here

                1. @mekosko 2y

                  literally 1984

                  1. @RiedleroD 2y

                    if you have a genuine problem with that moderation decision, DM me if not, yes literally 1984 🤪 how dare I demand people don't normalize hate speech against vulnerable minorities

                2. @Nefrace 2y

                  Not trying to insult anyone here or say something inappropriate but... Can anyone explain why is it always called something like "...phobia"? People are making fun of other people and not running away in panic.

                  1. @RiedleroD 2y

                    what do you do when you have arachnophobia and see a spider? kill it. it is a kind of fear, but less direct. *-phobes usually don't fear the people themselves, but their effects on society, or rather what they believe they will do to society

                    1. @RiedleroD 2y

                      it's always "oh the gays will mutilate your children" and stuff, it's definitely a kind of internalized fear of queer people

                      1. @Nefrace 2y

                        In that particular case it makes sense yeah.

                        1. @RiedleroD 2y

                          the other explanation is that it's just called that way because it's called that way, don't think too much about it 😛

                          1. @RiedleroD 2y

                            some people have switched to calling it -misia so e.g. transmisia

                            1. @sylfn 2y

                              transmisia as in cars? why not mis- prefix as in misoginy?

                              1. @RiedleroD 2y

                                what cars misia is a suffix that comes from ancient greek uhh… *looking it up* mîsos, which means "hatred"

                                1. @sylfn 2y

                                  and what do you think of miso- part of misoginy? the literal same

                                  1. @RiedleroD 2y

                                    doesn't work because homo is a prefix, so you need a suffix to complete the word

                                    1. @RiedleroD 2y

                                      otherwise 10/10 very nais

                                    2. @sylfn 2y

                                      in russian language we dont care we dont even need a root for a word to be normal (link)

                                  2. @RiedleroD 2y

                                    misoginy comes from miso → hatred gyno → woman -y → suffix because english is englishing

                                    1. @sylfn 2y

                                      what about adding -y everywhere?)

                                      1. @RiedleroD 2y

                                        idk english is englishing

                                      2. @sylfn 2y

                                        and thought about vim -y

                                2. @sylfn 2y

                                  https://en.wikipedia.org/wiki/Transmission_(mechanical_device) RU: Трансмиссия (approximately trahns-MIS-see-yah "transmisia")

                                  1. @RiedleroD 2y

                                    vroom vroom

                      2. @callofvoid0 2y

                        so..., pedophillia is supported in this chat?

        2. @callofvoid0 2y

          what's xenophobia?

          1. @RiedleroD 2y

            xeno means "different" so fear of (or hatred for) the unknown or unfamiliar

  14. @ZgGPuo8dZef58K6hxxGVj3Z2 2y

    Damn

  15. @real_kiarash_obj 2y

    I found the real meme in the comments

Use J and K for navigation