CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-remirror--react

Hooks and components for consuming remirror with your fave framework React.

36

1.09x
Quality

Pending

Does it follow best practices?

Impact

36%

1.09x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-6/

{
  "context": "Assesses whether the solution leans on @remirror/react's React element utilities and performance helpers to normalize children, collect component props, and render slots efficiently. Checks prioritize explicit use of the toolkit's validators, child mappers, name/prop inspectors, and memoization APIs rather than ad-hoc React code.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Element checks",
      "description": "Child normalization relies on @remirror/react validators such as isValidElement and isReactFragment (or isReactDOMElement) instead of manual type guards.",
      "max_score": 20
    },
    {
      "name": "Fragment flattening",
      "description": "Uses deepMapChildren or comparable @remirror/react child-walking helpers to flatten fragments and preserve keys/order when producing normalized children.",
      "max_score": 15
    },
    {
      "name": "Prop extraction",
      "description": "Collects props for targeted components by combining getComponentName with getElementProps (or cloneElementWithProps) from @remirror/react rather than inspecting element internals directly.",
      "max_score": 20
    },
    {
      "name": "Child filtering",
      "description": "Selects matching children via filterChildren/findChild or similar @remirror/react predicates instead of custom array scans or React.Children filtering.",
      "max_score": 10
    },
    {
      "name": "Memoized slots",
      "description": "Wraps slot rendering with memoizeComponent (or lazyComponent where appropriate) to avoid unnecessary re-renders when items/render are stable.",
      "max_score": 20
    },
    {
      "name": "Stable callbacks",
      "description": "Stabilizes render handlers using useStableCallback and, if applicable, debounceEventHandler/throttleEventHandler from @remirror/react rather than ad-hoc useCallback logic.",
      "max_score": 15
    }
  ]
}

tile.json