@ptolemy2002/react-proxy-context 1.0.14 → 1.0.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.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -827,7 +827,7 @@ var ProxyContextProvider = (0, import_react_utils.partialMemo)(function ProxyCon
|
|
|
827
827
|
contextRef.current.subscribe = subscribe;
|
|
828
828
|
contextRef.current.unsubscribe = unsubscribe;
|
|
829
829
|
return /* @__PURE__ */ import_react.default.createElement(contextClass.Provider, { value: contextRef.current }, children);
|
|
830
|
-
}, ["onChange", "proxyRef"]);
|
|
830
|
+
}, ["children", "onChange", "proxyRef"]);
|
|
831
831
|
function useProxyContext(contextClass, deps, onChange, listenReinit = true) {
|
|
832
832
|
const context = (0, import_react.useContext)(contextClass);
|
|
833
833
|
const forceRerender = (0, import_react_force_rerender.default)();
|