Major Changes
822f6f56b
by @12joan –- Upgrade to
jotai-x@1.1.0
- Add
useEditorSelector
hook to only re-render when a specific property ofeditor
changes - Remove
{ fn: ... }
workaround for jotai stores that contain functions - Breaking change:
usePlateSelectors
,usePlateActions
andusePlateStates
no longer accept generic type arguments. If custom types are required, cast the resulting values at the point of use, or use hooks likeuseEditorRef
that still provide generics. - Fix:
readOnly
on Plate store defaults to false and overridesreadOnly
on PlateContent - Fix: Plate ignores plugins passed via
editor
- Upgrade to