Open
Description
- further optimize
setDOMProp
on static tag + key
perf(runtime-vapor): optimizesetDOMProp
on static tag + key #294 - [Optimization] Cache prev values in closure instead of
recordPropMetadata
#297 - Maximize code reuse between
runtime/compiler-vapor
andruntime/compiler-dom
- move
compiler-dom
andruntime-dom
to peer dep forcompiler-vapor
andruntime-vapor
(see refactor(runtime-vapor):setStyle
reuse from runtime-dom #295 (comment)) -
compiler-vapor
should reusehtmlNesting
logic fromcompiler-dom
refactor(compiler-dom/vapor): reuse html nesting from compiler-dom #298 - vFor should reuse
getSequence
from core -
createVaporApp
should reuse logic from createApp inruntime-core
- setStyle etc. reuse from runtime-dom
- move
- Treeshaking / bundle size optimizations
-
on/delegate
is pulling in all the modifier code
refactor(compile-vapor): wrap the event handler withwithModifiers
orwithKeys
#300 -
createComponent
->setupComponent
->fallthroughAttrs
->setDynamicProps
results 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 -- refactor(vapor): drop memo #288
Metadata
Assignees
Labels
No labels