3 ms·
this is pretty neat! Does this mean you can inject random React components into something like a Wordpress site?
by yawnxyz 4y ago
this is pretty neat! Does this mean you can inject random React components into something like a Wordpress site?
- andix 4y agoYes, but you don’t need this tool for doing that.
- jimhi 4y agoUnfortunately using most common react components will fail if you try to just use ReactDOM
- andix 4y agoYou can just build your react components into a bundle and reference that. Just like this tool is doing behind the scenes. That's how most people use React.
- jimhi 4y agoFor Sure. This is for people who don't have the server access, knowledge, or patience.
- yawnxyz 4y agoYeah this is a really handy shortcut to doing all that! I work with collaborators hosting their sites on old legacy pages (in Academia, hosted on university systems); this could make it easy for me to configure components for them to drop in for various needs.
- jimhi 4y agoYeah, it transpiles it too so you can have conflicting react libraries working together