Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Updated tags to clarify, but higher order components are react specific: https://reactjs.org/docs/...
-
@Root the YouTuber funfunfunction is does some pretty good tutorials on learning functional programming in JS
-
They are amazingly good. I have a couple, like I can say AuthWrap(SomeComponent) and it gives back a component that will only render be mounted if the user is logged in. No need to pass props and write duplicated logic, and the component is completely transparent. 👍
Related Rants
Higher order functions and components screw with my brain sometimes.
rant
but they're so powerful
react