UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

9 lines (8 loc) 411 B
/** * Run an effect only on the first render, EXACTLY ONCE. * regardless of the dependencies, regardless of the strict mode * React team thinks that it is antithetical to the React model that * an effect cannot be canceled or cannot be replayed. Yet the reality * isn't ideal and especially external 3rd party API cannot be controlled. */ export declare function useMountEffect(effect: () => void): void;