Skip to content

@tauri-store/valtio

Next

Nothing yet.

2.2.0

Features

  • Add toStore helper function to create a store from an existing proxy.
typescript
import { proxy } from 'valtio';
import { toStore } from '@tauri-store/valtio';

const state = proxy({ counter: 0 });
const foo = toStore('foo', state);

2.1.1

Documentation

  • Update README.

2.1.0

Features

  • Add experimental support for store migrations.

Bug Fixes

Dependencies

  • Update tauri-store to 0.10.0.

2.0.0

Breaking Changes

  • Update tauri-store to 0.9.0.
  • Rename getValtioPath to getStoreCollectionPath.
  • Rename setValtioPath to setStoreCollectionPath.
  • Remove deprecated StoreFrontendOptions.onError.

1.1.1

Dependencies

1.1.0

Features

  • Deprecate StoreFrontendOptions.onError.
  • Add StoreHooks to the plugin options.

0.2.2

Dependencies

0.2.1

Dependencies

0.2.0

Features

  • Add setValtioPath.
  • Add StoreBackendOptions.saveOnExit.

Dependencies