meteor / react-packages

Meteor packages for a great React developer experience
http://guide.meteor.com/react.html
Other
571 stars 157 forks source link

fix: named exports for useTracker and withTracker #376

Closed henriquealbert closed 1 year ago

henriquealbert commented 1 year ago

Fix this one: https://github.com/Akryum/meteor-vite/pull/1#issuecomment-1328079910

Grubba27 commented 1 year ago

Will release this change under the 2.6.0 namespace because this may be a minor change for our users(not sure) I've checked our apps, and we use it like this

import { useFind, useSubscribe, useTracker } from 'meteor/react-meteor-data';

but people maybe using useTracker and withTracker as default exports. What do you think @radekmie ?

Grubba27 commented 1 year ago

Published under the 2.6.0 namespace

radekmie commented 1 year ago

It is a breaking change, but I don't think that anyone imported it as meteor/react-meteor-data/useTracker anyway.