We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 642a325 commit 21848a8Copy full SHA for 21848a8
src/index.js
@@ -1,7 +1,9 @@
1
+/* eslint-disable no-console */
2
+
3
import reactTreeWalker from 'react-tree-walker'
4
5
const warnmsg =
- 'Deprecation notice: you are using the deprecated "asyncBootsrap" for "react-async-bootstrapper", please rename these to "bootstrap"'
6
+ '"react-async-bootstrapper" deprecation notice: please rename your "asyncBootsrap" methods to "bootstrap"'
7
8
export default function asyncBootstrapper(app, options, context = {}) {
9
const visitor = (element, instance) => {
@@ -14,6 +16,7 @@ export default function asyncBootstrapper(app, options, context = {}) {
14
16
? instance.bootstrap()
15
17
: console.log(warnmsg) || instance.asyncBootstrap()
18
}
19
+ return undefined
20
21
22
return reactTreeWalker(app, visitor, context, options)
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments