/** * Memoize a component, so that it only updates when the props actually have * changed. This was previously known as `React.pure`. * @param {import('./internal').FunctionalComponent} c functional component * @param {(prev: object, next: object) => boolean} [comparer] Custom equality function * @returns {import('./internal').FunctionalComponent} */ export function memo(c: import('./internal').FunctionalComponent, comparer?: ((prev: object, next: object) => boolean) | undefined): import('./internal').FunctionalComponent;