React 16 time slicing trick

September 09, 2018

Normally React wants to keep the UI consistent with what you told it to render. So if you renderthen it will have to call render methods and…

Me

August 26, 2018

Software Engineer, I enjoy b̶r̶e̶a̶k̶i̶n̶g̶ fixing stuff. I love good UI/UX and optimized code, Always interest in new and interesting…

Default implementation of shouldComponentUnpdate

December 13, 2017

tl;drAccording to React documentationIt just returns You can also see it in the source code (react 16.2.0)When it’s it does shallow…

Why call super or super(props)

December 13, 2017

In react world, many time we call and , I do that and saw in many places, however I’ve never asked myself what does it actually do…eg.So…

React 16 fragment vs container divs

December 13, 2017

In React 16.2, improved support for Fragments has been added. More information can be found on React’s blog post here.We are all familiar…

©Yichao 2018.