We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
Thanks for the feedback :)
Well it depends on how you configure your bundler. You can configure react (or any other depdndency) as an external dependency. This way you only have it once.
This is amazing article. It helps me alot in making my react app become embedable by other developers. The step by step instruction is great! Thank you!
Thank you! I'm happy it helps 🤓
Amazing, amazing, amazing article! After five years, it continues to be very informative and educational. Thank you for that!
Hello "sag1v",
I followed your complete steps as mentioned, but slight change is that instead of App.js and I am trying to render the counter app in other route(other component).But getting error as " TypeError: Cannot read property 'mount' of undefined ", Please can you help me resolve this.
I can try 🙂
Post a link to the repo and explanation
Hey, Sag1v thanks for the great article, really informative. I have one doubt will it now increase total bundle size of the app as the main app will have two react libraries one is its own and another from counter app?