Back to all

js-hoist-regexp

by Santhana Krishnan

10Feb 8, 2026Visit Source
Hoist RegExp creation outside render or memoize with useMemo(). Apply when using regular expressions in React components or frequently called functions.