UNPKG

@winglet/react-utils

Version:

React utility library providing custom hooks, higher-order components (HOCs), and utility functions to enhance React application development with improved reusability and functionality

6 lines (4 loc) 180 B
const isMemoComponent = (component) => typeof component === 'object' && component !== null && component.$$typeof === Symbol.for('react.memo'); export { isMemoComponent };