Meteor with Redux

Next time I build an app with a substantial front-end, I will manage the client state using Redux. Redux is a tricky library. It can be at once simple and yet complicated. The author wrote it using straightforward JavaScript code, objects and functions and such. But it implements a lifecycle…

Read More

Meteor with Express

Next time I need to implement a RESTful API inside my Meteor app, I will implement Express. Out of the box, Meteor does not offer a RESTful API for non-meteor clients. Meteor specific packages are available (ie: restivus), but Meteor is phasing out it's Atmosphere package system and transitioning towards…

Read More

Wallaby and react-slingshot

React slingshot is a heavy-duty production ready React boilerplate packed with the latest JavaScript tools. The author thought a lot about testing, among other things. But, these features introduce complexity, largely due to Webpack, which is notoriously difficult to wrangle. For this project, our Wallaby setup is significantly more complicated…

Read More

Wallaby and create-react-app

Facebook's React team gave us the package 'create-react-app' so we can quickly bootstrap an app, complete with a dev server and tests. Wallaby gives us a config file that we can copy-&-paste. We will use that, and add a test that uses Enzyme to render a React component.…

Read More

Simple Wallaby Node App

Getting Wallaby to work with a barebones node app requires only a minimal Wallaby config. If you just want to practice installing wallaby in your code editor and seeing it work on a single ‘hello world’ style test, this is the place to start. For our purposes, this app will…

Read More