@cleanweb/react 2.1.1-beta.3 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/base/methods.js
CHANGED
@@ -71,8 +71,8 @@ var useMethods = function () {
|
|
71
71
|
'Note that this mechanism only works in the `development` environment during HMR.',
|
72
72
|
'In production, the class argument will be ignored after the first render.\n\n',
|
73
73
|
'If this wasn\'t an HMR update, you should refactor your code to make sure',
|
74
|
-
'all clean-react hooks receive the same class
|
75
|
-
].join());
|
74
|
+
'all clean-react hooks receive the same class argument on every render.'
|
75
|
+
].join(' '));
|
76
76
|
var oldInstance = instanceRef.current;
|
77
77
|
var hmrPreserveKeys = __spreadArray(__spreadArray([], latestInstance._hmrPreserveKeys, true), [
|
78
78
|
'state', 'props',
|
@@ -79,8 +79,8 @@ var useLogic = function () {
|
|
79
79
|
'Note that this mechanism only works in the `development` environment during HMR.',
|
80
80
|
'In production, the class argument will be ignored after the first render.\n\n',
|
81
81
|
'If this wasn\'t an HMR update, you should refactor your code to make sure',
|
82
|
-
'all clean-react hooks receive the same class
|
83
|
-
].join());
|
82
|
+
'all clean-react hooks receive the same class argument on every render.'
|
83
|
+
].join(' '));
|
84
84
|
var oldInstance_1 = instanceRef.current;
|
85
85
|
var hmrPreserveKeys = __spreadArray(__spreadArray([], latestInstance._hmrPreserveKeys, true), [
|
86
86
|
'state', 'props', 'hooks',
|