Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for UI Frameworks like React, Vue etc via Vite or FarmFe #612

Open
RayyanNafees opened this issue Nov 7, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@RayyanNafees
Copy link

Is your feature request related to a problem? Please describe.
Yes because web-components have very little ecosystem, what made Astro widely accepted by the community is the ability to use UI framework Components in it using Vite

Describe the solution you'd like
I'd like a solution that would allow us to create & use existing Interactive Components in UI library Ecosystem, so that we dont have to create complex components, for eg, A Date Range Picker Calendar or an Animated Virtualized Lists of FramerMotion etc using web-componens (I wonder how much harder would it be for the lack of packages to build upon)

I love the Idea behind Brisa, but would appreciate to move my existing projects to it if Brisa can be backwards compatible with the UI framework components

Describe alternatives you've considered
Currently the Only Alternative is.. to compile the the components using Vite or FarmFe or RsBuild and use them as static HTML, CSS & JS, cannot utilise the Initial static render and then Hydration process etc

@aralroca
Copy link
Collaborator

aralroca commented Nov 7, 2024

To use Brisa Web Components in other frameworks:

https://brisa.build/building-your-application/building/web-component-compiler

To use components from other frameworks in Brisa:

https://brisa.build/building-your-application/components-details/web-components#components-from-react-vue-svelte

I hope it helps. Now web components are used as an exchange currency between frameworks and Brisa. Supporting components from other frameworks without transforming them to web components is not viable right now, but it is a good point to investigate and get to do in the future.

@aralroca aralroca added the enhancement New feature or request label Nov 7, 2024
@aralroca
Copy link
Collaborator

aralroca commented Nov 9, 2024

Maybe we can do some integration with Mitosis to allow this, we need to try it and investigate how

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants