ptol / ts-reducer-creator

TypeScript strongly typed boilerplate-free reducer creator for Redux and ngrx
MIT License
45 stars 3 forks source link

Make rxjs dependency optional #4

Open ProdigySim opened 5 years ago

ProdigySim commented 5 years ago

I'm finally going to pick up this pattern for making reducers, but my project does not use rxjs at all.

Is there any way to make the dependency of rxjs optional? Or would it be a better idea to fork this code?

It looks like optional dependencies may be supported by npm, but I have never used them before.

ptol commented 5 years ago

Do you worry about bundle size? I belive core rxjs 6 code should be pretty small.