Fixing React error: Invariant Violation: ReactClass: You’re attempting to use a component class as a mixin. Instead, just use a regular object.

Let’s say you convert an old React object-class to an ES6 object, resulting in the following code: class MyComponent extends React.Component { render() { return <div>Hello!</div>; } }   React.createClass(MyComponent); This can give you an error: react-with-addons.js:20261 Uncaught Error: Invariant Violation: ReactClass: You’re attempting to use a component class as a mixin. Instead, just use […]

Computer Science in the Real World Moving Information: From Pigeons to the Internet

Map Showing the locations of Paris and Tours

he discipline of Computer Science affects us all, but for many people it is shrouded in mystery. Forged from a union of mathematics and electrical engineering, it beautifully blends the abstract and practical, although knowing this does little to clarify what that means to the non-initiate. The term “Informatik”, or “information science”, was coined in […]

,

Lessons Learned from 0 to 40,000 Readers

Starting Out I started writing a little over a year ago, after finding “Technical Blogging” by Antonio Cangiano through Hacker News. Since then, a bit over 40,000 people have read articles I’ve written, not a huge number in the grand scheme of things, but enough to draw a few lessons. The more I write, the […]