This repository was archived by the owner on Jul 19, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 116
This repository was archived by the owner on Jul 19, 2025. It is now read-only.
[Tracking] Refactor TODOs #293
Copy link
Copy link
Open
Description
- further optimize
setDOMPropon static tag + key
perf(runtime-vapor): optimizesetDOMPropon static tag + key #294 - [Optimization] Cache prev values in closure instead of
recordPropMetadata#297 - Maximize code reuse between
runtime/compiler-vaporandruntime/compiler-dom- move
compiler-domandruntime-domto peer dep forcompiler-vaporandruntime-vapor(see refactor(runtime-vapor):setStylereuse from runtime-dom #295 (comment)) -
compiler-vaporshould reusehtmlNestinglogic fromcompiler-dom
refactor(compiler-dom/vapor): reuse html nesting from compiler-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
refactor(compile-vapor): wrap the event handler withwithModifiersorwithKeys#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 -- refactor(vapor): drop memo #288
Doctor-wu, jh-leong, LittleSound, zhangenming, anuragkumar19 and 13 more
Metadata
Metadata
Assignees
Labels
No labels