Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.06 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.06 KB

Playground

A simple playground to test the reactivity package together with a UI framework (Vue in this case).

Contains a simple integration to use reactive values from Vue (useReactiveSnapshot). For the "real" test application, see Playground.vue and TodosModel.ts and their interaction.

Start playground

Before you start the development server for the first time, ensure that the package @conterra/reactivity-core (in packages/reactivity-core) has been built at least once:

# from project root
$ cd packages/reactivity-core
$ pnpm build

Then, start the development server:

# in this directory
$ pnpm dev

You can change files in this directory and instantly see the changes reflected in the browser (hot reloading). If you edit the source code of reactivity-core, you must build it again to see the changes in browser. The simplest way to to that is to start the development mode of reactivity-core as well; it will continuously rebuild the package on change:

# from project root
$ cd packages/reactivity-core
$ pnpm dev