All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
create
(both as a named export and the default export) is removed. Instead useatom
.
This version, compared to the previous one only adds deprecation notices that can be fixed by slight modifications. Underlying implementations are not changed.
create
(both as a named export and the default export) is marked as deprecated, and it has been renamed toatom
.
Before:
import create from 'xoid' // or import { create } from 'xoid'After:
import { atom } from 'xoid'
inject
andeffect
exports are now exported from the root. They used to be exported from thexoid/setup
route.
Before:
import { effect, inject } from 'xoid/setup'After:
import { effect, inject } from 'xoid'