Reactive-Extensions / RxJS-DOM

HTML DOM Bindings for the Reactive Extensions for JavaScript
http://reactivex.io
Other
438 stars 101 forks source link

Actual "modules" implementation in JS #128

Open MocanuMarius opened 7 years ago

MocanuMarius commented 7 years ago

Hey guys, great job ... but is there any way we can require that code in javascript using es6 modules (AMD, commonJS, whichever) ?

I don't want to carry around in my bundler the whole Rx.DOM. object when i only want the ajax api for basic requests.

For now, there is no way to require("react-dom/ajax") or ... import { Ajax } from "react-dom/something", or at least i haven't found out how properly require them.

Thanks a lot , have a great day 👍