CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-hoist-non-react-statics

Copies non-react specific statics from a child component to a parent component

Overall
score

95%

Overview
Eval results
Files

Evaluation results

100%

Component Wrapper Static Control

Exclude specific statics via user-provided map

Criteria
Without context
With context

Hoist usage

100%

100%

Exclusion map

100%

100%

Symbol support

100%

100%

Keep wrapper statics

100%

100%

100%

Static Hoisting Wrapper

Hoist non-React statics with React/JS blacklists

Criteria
Without context
With context

Uses hoist

100%

100%

React blacklist

100%

100%

Omit map

100%

100%

Prototype support

100%

100%

Descriptors & symbols

100%

100%

Intrinsic guard

100%

100%

92%

62%

Inherited Static Wrapper

Hoist inherited statics along the prototype chain

Criteria
Without context
With context

Imports library

25%

100%

Correct hoist call

0%

100%

Wrapper statics kept

50%

60%

Descriptors & symbols

80%

100%

Exclusion support

20%

100%

100%

React Static Preservation Wrapper

Leave existing React statics on the target untouched

Criteria
Without context
With context

Library call

100%

100%

React statics preserved

100%

100%

Custom statics hoisted

100%

100%

Returns target

100%

100%

90%

Symbol Static Preserver

Copy symbol-named statics

Criteria
Without context
With context

Uses hoist helper

100%

100%

Symbol statics kept

100%

100%

Exclusions handled

50%

50%

Prototype symbols

100%

100%

Hoist placement

100%

100%

100%

Instrumented Wrapper Static Safety

Preserve property descriptors and skip read-only statics

Criteria
Without context
With context

Hoist usage

100%

100%

Accessor kept

100%

100%

Non-enumerable

100%

100%

Read-only safe

100%

100%

80%

35%

Memo-Safe Static Hoisting Helper

Respect memo internals across React versions

Criteria
Without context
With context

Library call

0%

100%

Memo awareness

0%

20%

Preserves wrapper

100%

100%

Symbol statics

100%

100%

Exclusion map

100%

100%

100%

DOM-Safe Wrapper Hoisting

Skip hoisting from string DOM component sources

Criteria
Without context
With context

Use library hoist

100%

100%

Skip DOM strings

100%

100%

Respect blacklist

100%

100%

Return hoisted target

100%

100%

Correct import

100%

100%

100%

Chainable Static Wrapper

Return target component for HOC chaining

Criteria
Without context
With context

Correct call signature

100%

100%

Static copying

100%

100%

Exclusion handling

100%

100%

Chainable return

100%

100%

String source guard

100%

100%

85%

-15%

ForwardRef Static Wrapper

Respect forwardRef internals when hoisting

Criteria
Without context
With context

Hoist call

100%

100%

Skip internals

100%

60%

Custom statics

100%

100%

Hoist placement

100%

100%

No manual copies

100%

50%

Install with Tessl CLI

npx tessl i tessl/npm-hoist-non-react-statics
Evaluated
Agent
Claude Code

Table of Contents