Content pfp
Content
@
0 reply
0 recast
0 reaction

‍ pfp
@git
Instead of having a react, vue, svelte, solid, etc. versions of your library, consider having a Web Component version Web Components are natively supported in the browser and will work across all frameworks
0 reply
1 recast
8 reactions

pugson pfp
pugson
@pugson
how do i properly use a web component in react? this seems suboptimal https://github.com/pugson/react-farcaster-embed/blob/main/src/client/video-player-client.tsx
2 replies
0 recast
1 reaction

‍ pfp
@git
I'll put together a full example with react + vite and with next sometime this week!
1 reply
0 recast
1 reaction

‍ pfp
@git
here's a web component in react + vite example: https://stackblitz.com/edit/vitejs-vite-2q5vbl?file=src%2FApp.tsx using this web component: github.com/stefanjudis/sparkly-text
1 reply
0 recast
0 reaction

pugson pfp
pugson
@pugson
thank you i’ll check it out this weekend. 18351 $degen
1 reply
0 recast
0 reaction

‍ pfp
@git
Any reason you're using this specific library for video? Check out vidstack.io
1 reply
0 recast
0 reaction

pugson pfp
pugson
@pugson
couldn’t get it to work
1 reply
0 recast
0 reaction