react-modal-dialog
react-modal-dialog copied to clipboard
Heavy dependencies
Is there any possibility of eliminating immutable and the entire lodash package from the dependencies? ~100kb seems to be a very high price to pay for a modal window.
I tried different ways of building the project, based on the config of react-router, trying to remove the dependencies through the build process, and while I think the process could get better, I found that the main culprit of the large dependencies is active-event-stack.
I'll try to take a look at that project sometime soon.
In the meantime, here's the fork I've been working on to try and clean stuff up, if @qimingweng wants to take a look at it. If the changes are worth merging I can clean it up and rebase it.
Any updates?
@edrpls maybe you should try to submit your fork as a PR? It sounds like it has a lot of improvements! I'm also interested in cutting out the active-event-stack dependency