React 16 (and 16.2) adds some nice quality of life changes along with some performance gains.
Return types and Fragments
There's a whole slew o...
For further actions, you may consider blocking this person and/or reporting abuse
Nick Graf gives a nice overview of some these new features in these free egghead.io videos:
He explains portals as well, but in his pro course.
I'd also mention for those starting with React 16, why the error boundaries component needs to be a class instead of a stateless functional component.
componentDidCatch
is a life cycle method and life cycle methods are currently only supported in class components.Great article! Heads up, there's a typo in the Portal section where you wrote styled components. :)
Thanks! changed it.
Thanks for the overviews, this is really useful. Especially fragments look like something I'll be applying right away!