mobxjs/mobx-preact

empty package in npm

tonyalaribe opened this issue · 6 comments

The module on npm is empty. no javascript file defining anything

Wow that's weird. I published the files but I didn't even have time to test if they work properly.

@tonyalaribe Let me know if anything weird happens

I don't do TypeScript, so I have no idea where the problem lies, but here's what happens to me...

import { Provider, connect } from 'mobx-preact';
console.log(Provider); // undefined

import MobxPreact from 'mobx-preact';
console.log(MobxPreact.Provider); // function ...

I'm not sure what's going on?

@denizdogan Can you check the latest version? I'm travelling at the moment so it's kind of hard to fix things on my phone :)

There are currently two packages on npm: mobx-preact-alt and mobx-preact. From the looks of it they seem same, and point to this same repo. What's the other package for? If they're the same perhaps the -alt one should be deprecated and a redirect notice added on npm page for it?

Edit: Ah never mind, It seems to be deprecated in favor of mobx-observer, and the -alt is just an older version uploaded by another contributor it seems. I'm new to this, please feel free to correct or update me on past/present state of this/other package.

I will update this package soon 👍

Otherwise, https://www.npmjs.com/package/mobx-observer is pretty solid too