Hacker News new | ask | show | jobs
by kclay 1361 days ago
Funny enough I ran into this exact use case recently. We have a marketing site for a client done with webflow..But we needed to add a third party widget that only had an react library. So I ended up creating a CRA project so that I could include the bundled file and render the component as needed using the same setup (it was a modal + some purchase logic). Added some bare js hooks to trigger some of the logic via a button press. Worked well actually
1 comments

That works, I was more responding to using this random site instead of just CRA locally. Just seems odd.