Skip to content

Meteor SSR: TypeError: (0 , _ultimatejsTrackerReact.TrackerReactMixin) is not a function #25

@lyquocnam

Description

@lyquocnam

Hi author, i use meteor 1.4 with flowrouter ssr, webpack and babel with es7 features.
i tried to import TrackerReact, {TrackerReactMixin} from 'meteor/ultimatejs:tracker-react';
and use with:

@TrackerReactMixin
export default class Menu extends React.Component {
...
}

but error:
TypeError: (0 , _ultimatejsTrackerReact.TrackerReactMixin) is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions