vue3-yuanma/packages/reactivity/src
Evan You 09b4202a22 refactor(reactivity): adjust APIs
BREAKING CHANGE: Reactivity APIs adjustments:

- `readonly` is now non-tracking if called on plain objects.
  `lock` and `unlock` have been removed. A `readonly` proxy can no
  longer be directly mutated. However, it can still wrap an already
  reactive object and track changes to the source reactive object.

- `isReactive` now only returns true for proxies created by `reactive`,
   or a `readonly` proxy that wraps a `reactive` proxy.

- A new utility `isProxy` is introduced, which returns true for both
  reactive or readonly proxies.

- `markNonReactive` has been renamed to `markRaw`.
2020-04-15 16:45:20 -04:00
..
baseHandlers.ts refactor(reactivity): make readonly non-tracking 2020-04-14 23:49:46 -04:00
collectionHandlers.ts refactor(reactivity): make readonly non-tracking 2020-04-14 23:49:46 -04:00
computed.ts fix(types): ref value type unwrapping should happen at creation time 2020-02-25 19:44:06 -05:00
effect.ts fix(scheduler): sort jobs before flushing 2020-04-14 17:31:35 -04:00
index.ts refactor(reactivity): adjust APIs 2020-04-15 16:45:20 -04:00
operations.ts refactor(reactivity): separate track and trigger operation types 2019-12-03 11:30:24 -05:00
reactive.ts refactor(reactivity): adjust APIs 2020-04-15 16:45:20 -04:00
ref.ts refactor(reactivity): adjust APIs 2020-04-15 16:45:20 -04:00