Add support for componentDidCatch Component method#886
Add support for componentDidCatch Component method#886adamsilverstein wants to merge 18 commits into
Conversation
…update minification to rename this new property to __a)
|
Do we know what the size hit is here? |
|
@adamsilverstein @developit do you need help here maybe? Any timings for merge?) |
|
Size comparison, possibly perf impact |
|
Looks like the size impact is an added 107 bytes. For the utility, I think we can call that justifiable. Still need to run perf tests against this, hopefully the try blocks don't cause deopts. To-Do: (help wanted for any of these!)
|
|
Fixed the TS conflicts 👍 |
|
@marvinhagemeister looks like not ;) |
|
@awinogradov I did, but we merged other PRs that changed some things in |
|
I've setup the ability to run and compare a custom build of preact in my js-frameworks-benchmark fork in the Below are the results from running the tests with The startup and memory allocations were basically the same. Duration in milliseconds ± standard deviation (Slowdown = Duration / Fastest)
EDIT: grammar |
|
Here are some perf run results on a more reliable and powerful machine with sligtly more consistent standard deviations: https://gist.github.com/andrewiggins/19c2a1932a2540d343076434919c541b |
|
So, @developit are we ready? ;) |
|
Guys?) Any progress here? |
|
We'll probably get a release with all the recent ts fixes out and then merge this |
# Conflicts: # config/properties.json # package.json # src/vdom/component-recycler.js
|
Still waiting... |
|
I will check up on this with the team today. Sorry y'all. There are some conflicts though with the most recent fixes that went in. |
|
Closing in favor of #819 now that activity has resumed there :) |

Amends #819 removing these changes - tests still pass.