Current collected state Current
Observed since 20 Oct, 21:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
React wrapper for util watchTarget
watch-target-react - Util watchTarget wrapper for ReactReact wrapper of util watchTarget
function Portal({ children }) {
const { addComponent } = useContext(PortalContext);
const childrenWatchTarget = useLayoutWatchTarget(children);
useEffect(
() => addComponent(toComponent(childrenWatchTarget.watch)),
[addComponent]
);
return null;
}
function toComponent(childrenWatchTarget) {
return function Component() {
return <>{useWatchValue(childrenWatchTarget)}</>;
};
}
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 21:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:76145a6ef6b6e4ffeb21bd2ef05cb9a13c84c66ceb8294488a3ba90adb706b5b