LiangMingChen

Results comments of LiangMingChen

The latest update seems to broke this again. node_modules/enzyme/build/ShallowWrapper.js line 552 ```jsx if (lifecycles.componentDidUpdate && typeof instance.componentDidUpdate === 'function' && (!state || (0, _Utils.shallowEqual)(state, _this3.instance().state))) { instance.componentDidUpdate(prevProps, state, snapshot); }...

![image](https://user-images.githubusercontent.com/3789716/56334705-4f763100-614e-11e9-9eb7-60ddefd72018.png)

Note that have zindex is a force layering from blink (chrome rendering engine.) https://en.wikipedia.org/wiki/Blink_(browser_engine) It also force developer who use it to have to counter act on the layering. (that...

It create a new layer that rendering engine need to go through. And once you are there, every component start to do n+1, n+2. n + 10 etc. It is...

> Thanks for the report @LiangMingChen. > > This is definitely worth fixing for performance. Last time I briefly investigated this I couldn't dive far enough into the styles call...

Doesn't think the change fix the The new change at https://github.com/dzearing/office-ui-fabric-react/blob/07833d5e3e463f8332b87a33b0bfaec43647f7c9/packages/utilities/src/styled.tsx#L87 At end of day, when you return the JSX, you are giveing the new styles function (at line 84...

Thanks for fixing this. I think is that -- yes, tslint rule or airbnb typescript guidline will not capture all the error. It point to that most react - developer's...

For the test, I will suggested create a Simple wrapped component with componentWillReceiveProps or a static getDrivedStateFromProps https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html to make sure that styled does not change. I found componetWillReceiveProps better...

The change looks great! Thanks for fixing it. > @LiangMingChen Hope this is what you were after! Let me know.

To be fare I think all api mentions in Paul's blog should be under review for performance impact. https://gist.github.com/paulirish/5d52fb081b3570c81e3a#getcomputedstyle At least have several set of eyes on it to see...