blocks-template
blocks-template copied to clipboard
Will you support web components instead of JSX?
=> 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.
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.