Hooks and components for consuming remirror with your fave framework React.
Overall
score
36%
Evaluation — 36%
↑ 1.09xAgent success when using this tile
{
"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
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10