You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a feature that will likely require to be carefully thought out (and probably be a breaking change). Moving to functional programming (meaning no usage of OOP like classes) will allow the library to be tree shakeable, and thus make the bundle even smaller, ultimately providing a cleaner and more performant experience.
OOP inherently prevents code from being tree-shaken due to its nature of preserving base classes' members, and refactoring it to functional programing will contribute a lot to the subsequent performance of projects that use this library.
I'd be happy to aid in the migration, and would love to hear your opinion on this!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is a feature that will likely require to be carefully thought out (and probably be a breaking change). Moving to functional programming (meaning no usage of OOP like classes) will allow the library to be tree shakeable, and thus make the bundle even smaller, ultimately providing a cleaner and more performant experience.
OOP inherently prevents code from being tree-shaken due to its nature of preserving base classes' members, and refactoring it to functional programing will contribute a lot to the subsequent performance of projects that use this library.
I'd be happy to aid in the migration, and would love to hear your opinion on this!
Beta Was this translation helpful? Give feedback.
All reactions