Skip to content

Commit 7541eb0

Browse files
committed
chore: move react to peer deps
1 parent 7ce6af6 commit 7541eb0

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.size.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
{
33
"name": "dist/es2015/index.js, dist/es2015/boot.js",
44
"passed": true,
5-
"size": 3399
5+
"size": 3407
66
},
77
{
88
"name": "dist/es2015/index.js",
99
"passed": true,
10-
"size": 3120
10+
"size": 3123
1111
},
1212
{
1313
"name": "dist/es2015/boot.js",

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"hmr"
4040
],
4141
"peerDependencies": {
42-
"react": "^16.8.0"
42+
"react": "^16.9.0",
43+
"@types/react": "^16.9.0"
4344
},
4445
"author": "theKashey <thekashey@gmail.com>",
4546
"license": "MIT",
@@ -66,11 +67,9 @@
6667
"sinon": "^5.0.10"
6768
},
6869
"dependencies": {
69-
"@types/react": "^16.9.0",
7070
"babel-plugin-macros": "^2.6.1",
7171
"crc-32": "^1.2.0",
7272
"detect-node": "^2.0.4",
73-
"prop-types": "^15.6.2",
7473
"scan-directory": "^2.0.0",
7574
"tslib": "^1.10.0"
7675
},

src/useImported.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function useLoadable<T>(loadable: Loadable<T>, options: HookOptions = {})
6868
if (isBackend && !isItReady() && loadable.isLoading()) {
6969
/* tslint:disable:next-line no-console */
7070
console.error(
71-
'react-imported-component: trying to render a component which is not ready.You should `await whenComponentsReady()`?'
71+
'react-imported-component: trying to render a component which is not ready. You should `await whenComponentsReady()`?'
7272
);
7373
}
7474

0 commit comments

Comments
 (0)