slate-vue3
Advanced tools
Comparing version
{ | ||
"name": "slate-vue3", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,8 +1,7 @@ | ||
# slate-react library implemented with vue3 | ||
 | ||
## Why use it? | ||
# slate-[react](https://react.dev/) library implemented with [vue3](https://vuejs.org/) | ||
# Why use it? | ||
1. Use vue internal response implementation to reduce the number of re-renderings | ||
@@ -12,9 +11,9 @@ 2. You can easily use vue-devtools to debug in a vue project | ||
# Demo | ||
## Demo | ||
Check out the [**live demo**](https://guan-erjia.github.io/slate-vue3/) of all of the examples | ||
# Hooks | ||
## Hooks | ||
## [useComposing](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-composing.ts) | ||
### [useComposing](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-composing.ts) | ||
@@ -30,3 +29,3 @@ ``` | ||
## [useFocused](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-focus.ts) | ||
### [useFocused](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-focus.ts) | ||
@@ -39,3 +38,3 @@ ``` | ||
## [useReadOnly](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-read-only.ts) | ||
### [useReadOnly](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-read-only.ts) | ||
@@ -48,3 +47,3 @@ ``` | ||
## [useSelected](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-selected.ts) | ||
### [useSelected](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-selected.ts) | ||
@@ -57,3 +56,3 @@ ``` | ||
## [useEditor](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-editor.ts) | ||
### [useEditor](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-editor.ts) | ||
@@ -66,3 +65,3 @@ ``` | ||
## [useSelection](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-selection.ts) | ||
### [useSelection](https://github.com/Guan-Erjia/slate-vue3/blob/master/packages/slate-vue/src/hooks/use-selection.ts) | ||
@@ -75,3 +74,3 @@ ``` | ||
# Packages | ||
## Packages | ||
@@ -91,3 +90,3 @@ **slate's codebase is monorepo managed with pnpm workspace** | ||
# compact files of slate | ||
## compact files of slate | ||
@@ -94,0 +93,0 @@ **reactive implement** |
530600
-0.01%108
-0.92%