Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Will you support web components instead of JSX? #44

Open
scherler opened this issue Nov 18, 2022 · 1 comment
Open

Will you support web components instead of JSX? #44

scherler opened this issue Nov 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@scherler
Copy link

=> JSX.Element;

I am surprised to find the requisition is to use REACT I would rather see that you export to standard HTMLElement like web components are.

Do you plan to support the standard or is react given? ...wc would allow us to use it in any given js framework not only react.

@jaked
Copy link

jaked commented Nov 18, 2022

hi, thanks for getting in touch!

The Blocks app uses React, but it communicates with individual blocks using iframes and message passing, so there is no inherent reason that Blocks must be written with React. At the moment only React is supported in this template, but we're working right now on generalizing it to other frameworks or just plain JavaScript.

@idan idan added the enhancement New feature or request label Dec 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants