Joe Anderson
fb87646e86
Experimental chunking optimisation and other performance improvements ( #5871 )
...
* Chunking optimization
* Fix comments
* Remove redundant `insertionsMinusRemovals` variable
* Fix typo
* Unblock Netlify builds
* Add placeholder
* Upgrade Playwright (fixes crash when debugging)
* Fix `autoFocus` not working
* Fix huge document test
* Fix the previous issue without changing `useSlateSelector`
* Retry `test:integration`
* Re-implement `useSlateWithV`
* Retry `test:integration`
* Update docs
* Update JS examples to match TS examples
* Upload Playwright's `test-results` directory in CI to access traces
* Change trace mode to `retain-on-first-failure`
* Fix: `Locator.fill(text)` is flaky on Editable
* Add changesets
* Increase minimum `slate-dom` version
* Update changeset
* Update 09-performance.md
* Deprecate the `useSlateWithV` hook
* Fix errors and improve clarity in 09-performance.md
* Minimum `slate-dom` version is now 0.116
* Update `yarn.lock`
2025-06-06 16:42:11 -07:00
Sunny Hirai
6aace0d017
Fix docs on useSlateSelector
2024-12-30 21:35:10 -08:00
Ty Mick
644ebdc8f5
Use extended Editor
type in useSlateWithV
return type ( #5763 )
...
* Use extended `Editor` type in `useSlateWithV` return type
So it matches the return types of `useSlate` and `useSlateStatic`. The
`useSlateWithV` return object's `editor` property is currently typed as
just a `ReactEditor`, which causes type errors in our app when we try to
use it as the extended `Editor` type.
* Fix return types in "Editor hooks" docs
2024-11-19 11:14:47 -07:00
Danny
f18383ba72
docs: add context to useComposing hook ( #5715 )
...
* docs: add context to useComposing hook
* fix: run prettier
2024-11-01 10:44:18 -07:00
yf-yang
6cb38e37a4
feat: add useComposing hook ( #5695 )
2024-08-20 16:03:03 -07:00
Sunny Hirai
cc2000b583
Provide a more detailed description of useSlateSelector in docs
2023-04-13 09:13:19 -07:00
Sunny Hirai
c6b7db2e13
Organize hooks documentation and add subheadings
2023-04-13 09:10:12 -07:00
Sunny Hirai
d193160fbd
Add return values to SlateReact hooks documentation
2023-04-13 09:07:35 -07:00
Sunny Hirai
f80ecaf165
Extract SlateReact hooks documentation onto its own page
2023-04-12 22:20:54 -07:00