Skip to content

Add React shims to hide useRef to make Web Components built with Svelte easier to use #67

@MantisClone

Description

@MantisClone

Follow-up to #34

Problem

Svelte's Object parser always calls JSON.stringify and JSON.parse which doesn't work for complex objects that have Functions.

Image

Proposed Solution

Create React Shims that handle the useRef to simplify the Dev EX for integrating the components.

  • payment-widget
  • invoice-dashboard
  • create-request-form

Alternatives

  • Reimplement Web Components using https://lit.dev/ which may or may not have the same Object parsing limitation as Web Components written in Svelte.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions