vigetlabs/microcosm

Deprecating `addons` in favor of `microcosm-react`?

Closed this issue · 2 comments

I'm considering removing addons, favoring a microcosm-react instead:

import { withSend } from 'microcosm-react'

Either way, I think it would be nice to have an addons module that contained all of the addons:

import { withSend, Presenter } from 'microcosm/addons'

For 12.x, maybe even 13.x, we could just import microcosm-react and export it back out

Alternatively, if we wanted to keep everything in the same package, we could do:

import { withSend, Presenter } from 'microcosm/react'

My vote goes to:

import { withSend, Presenter } from 'microcosm/react'

Moved to microcosm-dom package.