Hi so I did meteor add react-meteor-data@0.2.12, but I am still getting the warning, even though its a fresh project:
Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
Was I supposed to change what I'm importing and if so, to what?
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { Meteor } from 'meteor/meteor';
import { createContainer } from 'meteor/react-meteor-data';
import { HTTP } from 'meteor/http';
Hi so I did
meteor add react-meteor-data@0.2.12
, but I am still getting the warning, even though its a fresh project:Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
Was I supposed to change what I'm importing and if so, to what?