-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
我回来了!我发现有人,只使用 ref,而不使用 reactive
https://github.com/pago/reactive#why-refcurrent-instead-of-refvalue
也就是说,模拟不支持 Proxy 的嵌套,但是默认使用 ref 的话,用户就会主动感知到,然后主动加 .value
另外我发现,这里的 diff 算法有优化空间:https://github.com/xcodebuild/overdom/blob/master/packages/overdom/src/directive.ts#L120
Metadata
Metadata
Assignees
Labels
No labels