Meteor 1.5 and Code Splitting with React and React Router

Meteor 1.5 is out and we can finally do code splitting!  If you are not familiar with code splitting, this allows us to separate our logic in a single page web app (SPA) and only send the client the relevant portions of code. This is useful in a couple immediate ways: You have a giant … Read moreMeteor 1.5 and Code Splitting with React and React Router

Moving To Containers in Meteor (ES6) For React

The current way to connect Meteor into your React App is to use ES6 based components. Meteor has a function called “createContainer” that will send Meteor data into your React component as props instead of “this.data” access. This can make it a bit more complicated if you need to change your subscriptions based on React’s … Read moreMoving To Containers in Meteor (ES6) For React

Re-factoring from React CreateClass to Native ES6 Classes

For the past few weeks I have been refactoring a client’s app to move from the React.CreateClass() format to the new and shiny ES6 class based format. We also re-factored Meteor from a mixin to the new createContainer component format. While we are at it, let’s demonstrate the functional based components for a child that … Read moreRe-factoring from React CreateClass to Native ES6 Classes

Meteor, React and Browserify

I have been chasing down an odd issue with a Meteor/React app I am building. The error showing up in the browser console is:   You are currently using minified code outside of NODE_ENV === ‘production’. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify … Read moreMeteor, React and Browserify