Skip to content

Other Reactivity APIs

WARNING

Vue 3.4 was released at the end of December 2023, which includes performance improvements for reactivity.
You should note that this online book is referencing the previous implementation.
We plan to update this online book at the appropriate time.

Let's implement other reactivity APIs!

  • customRef
  • readonly
  • shallowReactive
  • unref
  • isProxy
  • isReactive
  • isReadonly

If you have come this far, you should be able to implement them by reading the source code without any explanations!

Source code so far:
chibivue (GitHub)

Released under the MIT License.