strict
and loose mode
#59
Labels
enhancement
New feature or request
optimization
Because speed, memory consumption, and bundle size are important
priority: medium
Something that should be tackled
By default this framework operate on loose mode where
__MODE__ === "loose"
. All scripts that only have strict mode have smaller bundle size and it's organized onstrict/
folder. For example,will define
<render-scope>
that only operate on strict mode.strict
mode@bind
decorator (unlike controlled loose mode, binding work on class parent and ancestors too without traversing)strict
attribute when using default (loose) scripts<render-scope>
doesn't handle inline<script>
and<style>
module (where it has attributetype=module/*
)loose mode
accessor
get
ter/set
tertraverse-depth=<uint>
attribute orclass extends traverse(...Classes).extends(Class)
helperThe text was updated successfully, but these errors were encountered: