Version 10 breaking changes
See original GitHub issueThis issue doesn’t imply that version 10 will be released any time soon. I just want a place to list some ideas so I won’t forget them.
- Remove
AutoSizer
in favor of react-measure (based on the Resize Observer spec, can be polyfilled). This seems like a more future-friendly way of detecting resize. - Remove individual
Table
row-level event handler props in favor of an object (egrowEventHandlers
) that gets spread on each row. This will enable more flexible event event handling without requiringrowRenderer
to be override while avoiding unsupported props warnings. - Maybe split some of the HOCs (eg
WindowScroller
,InfiniteLoader
) out into their own packages to reduce the clutter and bundle size for people wanting only windowing components? (This was suggested to me by a lib user. I haven’t put much thought into it. Would probably also need to go hand-in-hand with using something like Lerna.) - Consider refactoring
InfiniteLoader
to be less row-centric (see #973)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:29
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Breaking changes from V10 -> V16 ? #42622 - GitHub
There are many breaking changes between Node.js 10 to 16. To find them in the changelog, you'd need to review the semver major...
Read more >NodeJS 10: The New, The Changed, and the Deprecated
Node.js 10 comes packed with significant performance improvements through V8 v6.6 and new experimental features such the fs promise API and ...
Read more >Apache Tomcat® - Migration Guide - Tomcat 10.0.x
There is a significant breaking change between Tomcat 9.0.x and Tomcat 10.0.x. ... When upgrading instances of Apache Tomcat from one version of...
Read more >Updating to Angular version 10
Updating CLI Apps · Changes and Deprecations in Version 10 · New Breaking ... This guide contains information related to updating to version...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just came across this. Was going to file an issue to see if you wanted to consider a ResizeObserver 😆 I’d be willing to help try and push this through. I would suggest using the polyfill direct. It’s a pretty small amount of code to get it setup. As far as measuring goes, we can attach the observer to the parent node if we need to.
Currently I’m using only Table component (didn’t have a chance to use other components) and got lot of custom editable columns like checkboxes, inputs and selects.
To make them reusable i’m using factories like that:
Not sure if it’s even a good idea in case of perf, but It would be great to have an option to make it work in “react way”: