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

8 lines (5 loc) 210 B
'use strict'; const isMemoComponent = (component) => typeof component === 'object' && component !== null && component.$$typeof === Symbol.for('react.memo'); exports.isMemoComponent = isMemoComponent;