Skip to content

feat(wix-app): add FUNCTION-HANDLERS reference for editor react components#224

Open
liatWix wants to merge 1 commit into
wix:mainfrom
liatWix:feat/editor-react-component-function-handlers
Open

feat(wix-app): add FUNCTION-HANDLERS reference for editor react components#224
liatWix wants to merge 1 commit into
wix:mainfrom
liatWix:feat/editor-react-component-function-handlers

Conversation

@liatWix

@liatWix liatWix commented May 18, 2026

Copy link
Copy Markdown

Summary

  • Adds editor-react-component/FUNCTION-HANDLERS.md — a new topic reference covering standard SDK event handler prop names, DOM event wiring (including the onDblClick/onMouseIn/onMouseOut name mismatches), and custom callback patterns (() => void)
  • Updates EDITOR_REACT_COMPONENT.md to list the new file alongside the other topic references
  • Updates REACT-GUIDELINES.md §1.2.6 to point to FUNCTION-HANDLERS.md for external handler conventions
  • Updates COMPONENT-API.md "Component Data Types" to reference FUNCTION-HANDLERS.md for function props

Test plan

  • Verify FUNCTION-HANDLERS.md follows the Rules → Common Mistakes format used by ACCESSIBILITY.md, DIRECTIONALITY.md, etc.
  • Verify the internal editor-react-components package content is absent (not relevant for CLI app developers)
  • Verify all three cross-reference links resolve correctly

🤖 Generated with Claude Code

…nents

Adds FUNCTION-HANDLERS.md covering standard SDK event handler prop names,
DOM event wiring (including name mismatches), and custom callback patterns.
Updates EDITOR_REACT_COMPONENT.md, REACT-GUIDELINES.md, and COMPONENT-API.md
to reference the new file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants