In 1.3.0, the call to withTracker is not correct. Instead, it should be
const LoginFormContainer = withTracker(() => {
// Listen for the user to login/logout and the services list to the user.
Meteor.subscribe('servicesList');
return ({
user: Accounts.user(),
});
})(LoginForm);
With current version, LoginForm will not render and React 15 will complain A valid React element (or null) must be returned. This makes the package unusable. I created a PR #138 for this.
In 1.3.0, the call to
withTrackeris not correct. Instead, it should beWith current version,
LoginFormwill not render and React 15 will complainA valid React element (or null) must be returned. This makes the package unusable. I created a PR #138 for this.