·js-hoist-regexp
*

js-hoist-regexp

theorcdev/8bitcn-ui

Hoist RegExp creation outside render or memoize with useMemo(). Apply when using regular expressions in React components or frequently called functions.

13Installs·0Trend·@theorcdev

Installation

$npx skills add https://github.com/theorcdev/8bitcn-ui --skill js-hoist-regexp

SKILL.md

Don't create RegExp inside render. Hoist to module scope or memoize with useMemo().

Hoist RegExp creation outside render or memoize with useMemo(). Apply when using regular expressions in React components or frequently called functions. Source: theorcdev/8bitcn-ui.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/theorcdev/8bitcn-ui --skill js-hoist-regexp Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Security certified for safe and reliable code One-click installation with simplified configuration Compatible with Claude Code, Cursor, and more

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/theorcdev/8bitcn-ui --skill js-hoist-regexp
Category
*Creative Media
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is js-hoist-regexp?

Hoist RegExp creation outside render or memoize with useMemo(). Apply when using regular expressions in React components or frequently called functions. Source: theorcdev/8bitcn-ui.

How do I install js-hoist-regexp?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/theorcdev/8bitcn-ui --skill js-hoist-regexp Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/theorcdev/8bitcn-ui