Fill slot without React #47380
multiplehats
started this conversation in
WooCommerce, Blocks, and Site Editing
Replies: 1 comment 4 replies
-
Slot Fills can only be used with React, you don't need a build system thou, but it still will be a react component, because it uses React Portals to insert that component into the existing React tree, thou nothing preventing you from having a React component orchestrate a Svelte tree. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to fill a slot without using React? I like to use vanilla TS or Svelte.
https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/available-slot-fills.md
I guess I could do something along the lines of:
https://youtu.be/FrusJNycQvk?si=dj4mBsnfvxLOLwvo
Beta Was this translation helpful? Give feedback.
All reactions