You can see many examples if you google - "How do I put react into my " Github page/Shopify/Wordpress etc.
Many developers inherit or prefer a plain page and just want to use a cool open source react component real quick like adding a slick calculator to their existing webpage.
As said below, most common react libraries will fail if you try to just use ReactDOM. Mounting has many issues if you try it for more than the basic hello world.
Not to mention you can use multiple different versions of react with this.
> most common react libraries will fail if you try to just use ReactDOM
I'd think that would be a pretty big sign that React might not be the right tool for the job. I'm all for building custom hammers but sometimes it might just be better to just grab a screwdriver.
My comment wasn't a critique on your product. I can totally see how this could be handy and I'll keep it bookmarked. I was mostly critiquing that web devs nowadays always seem to try and reach out for some React package whenever they hit any sort of problem. I can see that the React packages are mandatory, any plans to support other frameworks?
Vue would be pretty easy. From personal experience it’s mostly react that’s has all these open source things someone might want. Was there one you were thinking of?
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
I didn't realize it was so few. My own state doesn't require voter ID. However it looks like the states that require ID tend to be smaller, and many larger states don't require it. 41% of the US population live in states like California with no voter ID laws, with an additional percentage in states where a photo ID (as opposed to a bank statement or utility bill) is optional:
Yet I'm constantly doing this on some of the most popular websites (eg. Amazon) to remove tracking portions and other unwanted cruft when sharing or archiving links.
I used to use TamperMonkey (even wrote a somewhat popular script a long time ago) and more plugins, but tired of the cognitive overhead maintaining the setup eg. every time I format/migrate, or when my browser decided to break backward compatibility, or when sites changed and the mod was no longer being updated, or when my browser got slow and I had to try and isolate which one(s) were at fault.
I'm sure the plugins are great, I just personally find it easier now to remove by hand (and other sledgehammers like disabling JavaScript altogether for the most aggregiously annoying sites).