Skip to content

Automatically convert Maps and Sets to proxyMaps and proxySetws

License

Notifications You must be signed in to change notification settings

valtiojs/valtio-mapset-adapter

Repository files navigation

valtio-mapset-adapter GitHub Actions Workflow Status NPM Version NPM License

Usage

import convert from 'valtio-mapset-adapter'

// convert all Maps and Sets to proxyMaps and proxySets
convert()

// convert only Maps to proxyMaps
convert({ ignoreSets: true })

// convert only Sets to proxySets
convert({ ignoreMaps: true })

About

Automatically convert Maps and Sets to proxyMaps and proxySetws

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published