import React, { PureComponent } from 'react'; import { withTracker } from 'meteor/react-meteor-data'; import Note from './component'; import NoteService from './service'; class NoteContainer extends PureComponent { render() { return ( {this.props.children} ); } } export default withTracker(() => { const url = NoteService.getNoteURL(); return { url, }; })(NoteContainer);