CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-remirror--react

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

Overall
score

36%

Evaluation36%

1.09x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "Evaluates whether the solution boots a React-friendly editor manager and DOM view using @remirror/react's creation utilities, initializes state from content, relays JSON updates, and cleans up reliably for reuse. Scoring centers on correct usage of the package APIs tied to manager creation, state building, view mounting, and teardown.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Manager setup",
      "description": "Builds the editor manager with @remirror/react's createReactManager using the supplied extension factories, and rejects an empty extensions array instead of silently proceeding.",
      "max_score": 25
    },
    {
      "name": "State init",
      "description": "Uses the RemirrorManager's createState (with content and stringHandler when provided) to produce the initial editor state, defaulting to an empty doc when no content is given.",
      "max_score": 20
    },
    {
      "name": "View mounting",
      "description": "Attaches the editor to the provided root element with createEditorView using the prepared state, keeping a single manager instance rather than recreating extensions on subsequent calls.",
      "max_score": 20
    },
    {
      "name": "Change relay",
      "description": "Subscribes to state transactions (via the view or manager) and invokes the optional callback with view.state.doc.toJSON() whenever the document changes.",
      "max_score": 20
    },
    {
      "name": "Teardown",
      "description": "Destroys the EditorView with its destroy method and removes any listeners so the same element can be re-mounted without duplicate handlers.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-remirror--react@2.0.0
What are skills?

tile.json