80% Bundle Size decrease*
Major version?
React 16.8 is now required, nothing else changed, nothing else added
Features
Yes
- blocking horizontal scroll
- parental scroll -
inert
properly
So why?
👉80% Bundle Size decrease*
if you want
- 🎣everything was rewritten in hooks. That simplifies the logic, make code more compact, but now the minimal React version is 16.8+
- 🚗a sidecar pattern has been used to split library code into the UI part(300b), and Effect part(1.5kb) part, which would be executed only after Lock activation.
The total size of 1.7kb, which is just a bit more that on kb. But UI part is just 300b, and that might have a huge (cumulative) difference.