UNPKG

foxact

Version:

React Hooks/Utils done right. For browser, SSR, and React Server Components.

1 lines 177 B
import{memo as e,cloneElement as r}from"react";const t=e(e=>{let{contexts:t,children:o}=e;return t.reduceRight((e,t)=>r(t,{children:e}),o)});export{t as ComposeContextProvider};