Open Dosant opened 2 years ago
Is looks like we can safely remove resize-observer-polyfill and shave dozens of Kbs from bunch of async chunks:
resize-observer-polyfill
Compatibility
Kibana support matrix
[ ] x-pack/plugins/security_solution/public/resolver/types.ts @elastic/security-solution
[ ] x-pack/plugins/security_solution/public/resolver/view/side_effect_context.ts @elastic/security-solution
[x] #122022
[ ] src/plugins/kibana_utils/public/resize_checker/resize_checker.ts @elastic/kibana-app-services
[ ] src/plugins/kibana_utils/public/resize_checker/resize_checker.test.ts @elastic/kibana-app-services
In some places we already use ResizeObserver without a polyfill, e.g. x-pack/plugins/security_solution/public/resolver/view/use_camera.ts
ResizeObserver
Sounds like a great initiative to me 👏
Sounds like a small and useful thing to do, especially as we try to reduce bundle sizes. Why not tackle this?
Pinging @elastic/appex-sharedux (Team:SharedUX)
Is looks like we can safely remove
resize-observer-polyfill
and shave dozens of Kbs from bunch of async chunks:Compatibility
Kibana support matrix
[ ] x-pack/plugins/security_solution/public/resolver/types.ts @elastic/security-solution
[ ] x-pack/plugins/security_solution/public/resolver/view/side_effect_context.ts @elastic/security-solution
[x] #122022
[ ] src/plugins/kibana_utils/public/resize_checker/resize_checker.ts @elastic/kibana-app-services
[ ] src/plugins/kibana_utils/public/resize_checker/resize_checker.test.ts @elastic/kibana-app-services
In some places we already use
ResizeObserver
without a polyfill, e.g. x-pack/plugins/security_solution/public/resolver/view/use_camera.ts