WebReflection/wicked-elements

Improve bootstrap performance

Closed this issue · 0 comments

Currently, the prototype crawling is lazily performed per each component bootstrap.

While this is good to maximize performance during definition, it sucks when it costs more for every component + it suffers prototype changes at distance, a practice that should be discouraged since there's no mechanism to upgrade already bootstrapped components later on.

TODO

Cache once the crawling to address all events that need to be setup and the initialization.