@cleanweb/oore 2.0.0-alpha.14 → 2.0.0-alpha.15
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.
|
@@ -86,7 +86,7 @@ export declare class ComponentInstance<TProps extends TPropsBase = null> extends
|
|
|
86
86
|
* PS: You can conditionally update state from here, but with certain caveats.
|
|
87
87
|
* {@link https://react.dev/reference/react/useState#storing-information-from-previous-renders | See the React docs for details}.
|
|
88
88
|
*/
|
|
89
|
-
beforeRender: () =>
|
|
89
|
+
beforeRender: () => any;
|
|
90
90
|
/**
|
|
91
91
|
* Runs **_after_** every render cycle, including the first.
|
|
92
92
|
*
|
|
@@ -69,7 +69,7 @@ var ComponentInstance = /** @class */ (function (_super) {
|
|
|
69
69
|
* PS: You can conditionally update state from here, but with certain caveats.
|
|
70
70
|
* {@link https://react.dev/reference/react/useState#storing-information-from-previous-renders | See the React docs for details}.
|
|
71
71
|
*/
|
|
72
|
-
_this.beforeRender = function () { };
|
|
72
|
+
_this.beforeRender = function () { return ({}); };
|
|
73
73
|
/**
|
|
74
74
|
* Runs **_after_** every render cycle, including the first.
|
|
75
75
|
*
|
package/package.json
CHANGED