[Tracking] Refactor TODOs
yyx990803 opened this issue · 0 comments
yyx990803 commented
- further optimize
setDOMPropon static tag + key
#294 - #297
- Maximize code reuse between
runtime/compiler-vaporandruntime/compiler-dom- move
compiler-domandruntime-domto peer dep forcompiler-vaporandruntime-vapor(see #295 (comment)) -
compiler-vaporshould reusehtmlNestinglogic fromcompiler-dom
#298 - vFor should reuse
getSequencefrom core -
createVaporAppshould reuse logic from createApp inruntime-core - setStyle etc. reuse from runtime-dom
- move
- Treeshaking / bundle size optimizations
-
on/delegateis pulling in all the modifier code
#300 -
createComponent->setupComponent->fallthroughAttrs->setDynamicPropsresults pulling all the props handling code- we need to rethink how fallthrough attributes are handled, maybe by moving fallthrough attributes application code to be generated in the parent component where the child is consumed.
-
setup()returning object is only needed in__DEV__(hmr)
-
- simple component
- dynamic binding constant detection
- simplify
renderEffect- only 1 effect per scope? (need bench)
- binding inline caching
- error if no instance
- remove memo -- #288