But the React team is far from relenting. They continue to dig deeper, discovering even more functional gems hidden in the legendary library.
So today I reveal to you a new functional gold buried in React, best kept React secret — Functional setState!
Okay, I just made up that name… and it’s not entirely new or a secret. No, not exactly. See, it’s a pattern built into React, that’s only known by few developers who’ve really dug in deep. And it never had a name. But now it does —
... read the whole story at medium.freecodecamp.com.