Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series

$

24

.99

$

22

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Meteor Data In React

This video is about Meteor 1.4 + React For Everyone #7 Meteor Data In React

Downloads

Become a pro to download code and videos

Comments

Anders

over 2 years ago

@Paul Thanks withTracker solved it

User avatar

Paul

over 2 years ago

https://atmospherejs.com/meteor/react-meteor-data Appears ‘createContainer’ has been removed and ‘withTracker’ should be used instead. The following seemed to work for me:

import { withTracker } from "meteor/react-meteor-data”; … export default withTracker(({}) => { return { items: Items.find({}).fetch(), }; })(App);

Yanis

over 2 years ago

Hi Scoot, I have some issue when I'm trying to use 'createContainer'. I'm getting in my consol ''App.js:33 Uncaught TypeError: createContainer is not a function"

Want to join the conversation?

Become a Pro member today!