Provide a reactivity system similar to Vue.js for Python.
Please follow the documentation at https://github.com/frederick-wang/pyreactivity/blob/main/docs/guide/introduction.md
-
ref
function -
computed
function -
reactive
function -
effect
function -
watch
function -
watch_effect
(watchEffect
) function -
is_ref
(isRef
) function -
is_computed_ref
(isComputedRef
) function -
unref
function -
deep_unref
(deepUnref
) function -
is_reactive
(isReactive
) function -
to_raw
(toRaw
) function -
deep_to_raw
(deepToRaw
) function -
mark_raw
(markRaw
) function - serializable by
json.dumps()
andjson.dump()
PyReactivity is an open-source project and welcomes any contributions. If you have any issues or suggestions, feel free to raise them in the Github Issues.
PyReactivity is inspired by Vue.js and its implementation also references the source code of Vue.js. Thanks to the Vue.js team for their selfless dedication.
This documentation also heavily references the documentation of Vue.js, thanks to the document writers of Vue.js for their selfless dedication.