Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

[optimization] Use trait instead of class for options object #203

Closed
exoego opened this issue Mar 24, 2020 · 0 comments · Fixed by #234
Closed

[optimization] Use trait instead of class for options object #203

exoego opened this issue Mar 24, 2020 · 0 comments · Fixed by #234
Labels
enhancement New feature or request

Comments

@exoego
Copy link
Owner

exoego commented Mar 24, 2020

JS Class is not preferrable, since extra overhead in terms of the generated JS size and runtime performance.
Also in terms of mixining options.

Instead, vanilla js.Object is preferrable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant