From b817fa38af6e82891cac8299d5f6b2fc404f735e Mon Sep 17 00:00:00 2001 From: Amour1688 Date: Wed, 22 Jul 2020 09:23:23 +0800 Subject: [PATCH] chore: v1.0.0-beta.4 changelog --- CHANGELOG.md | 6 ++++++ packages/babel-plugin-jsx/README-zh_CN.md | 14 ++++++-------- packages/babel-plugin-jsx/README.md | 14 ++++++-------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fec48a..d8b4636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.0.0-beta.4 + +`2020-07-22` + +- 🐞Properly force update on forwarded slots [#33](https://github.com/vueComponent/jsx/pull/33) + ## 1.0.0-beta.3 `2020-07-15` diff --git a/packages/babel-plugin-jsx/README-zh_CN.md b/packages/babel-plugin-jsx/README-zh_CN.md index f5ec66c..1c73193 100644 --- a/packages/babel-plugin-jsx/README-zh_CN.md +++ b/packages/babel-plugin-jsx/README-zh_CN.md @@ -102,8 +102,6 @@ const App = () => ( ### 指令 -> 建议在 JSX 中使用驼峰 (`vModel`),但是 `v-model` 也能用 - v-show ```jsx @@ -112,7 +110,7 @@ const App = { return { visible: true }; }, render() { - return ; + return ; }, }; ``` @@ -122,15 +120,15 @@ v-model > 注意:如果想要使用 `arg`, 第二个参数需要为字符串 ```jsx - + ``` ```jsx - + ``` ```jsx - + ``` 会变编译成: @@ -153,7 +151,7 @@ const App = { setup() { return () => ( ); }, @@ -169,7 +167,7 @@ const App = { a: () =>
A
, b: () => B }; - return () =>
; + return () => ; } }; ``` diff --git a/packages/babel-plugin-jsx/README.md b/packages/babel-plugin-jsx/README.md index f871125..574e1ac 100644 --- a/packages/babel-plugin-jsx/README.md +++ b/packages/babel-plugin-jsx/README.md @@ -101,8 +101,6 @@ const App = () => ( ### Directives -> It is recommended to use camelCase version of it (`vModel`) in JSX, but you can use kebab-case too (`v-model`). - v-show ```jsx @@ -111,7 +109,7 @@ const App = { return { visible: true }; }, render() { - return ; + return ; }, }; ``` @@ -121,15 +119,15 @@ v-model > Note: You should pass the second param as string for using `arg`. ```jsx - + ``` ```jsx - + ``` ```jsx - + ``` Will compile to: @@ -152,7 +150,7 @@ const App = { setup() { return () => ( ); }, @@ -168,7 +166,7 @@ const App = { a: () =>
A
, b: () => B }; - return () =>
; + return () => ; } }; ```