Our Blog

Let us find tech solutions together

Dec 06

While integrating redux-saga an annoying little error may pop up in the console.

1
Uncaught ReferenceError: regeneratorRuntime is not defined

It took a bit of research to figure out why, and it shouldn’t have since the notice is listed in the README for redux-saga. Most browsers do not support ES2015 generators, so require using a polyfill.

I am going to assume usage of the react-slingshot bootstrap as mentioned in a previous post about usable bootstrap with react-slingshot.

Add the import for babel-polyfill prior to importing redux-saga to the src/store/configureStore.js.

1
2
import 'babel-polyfill';
import createSagaMiddleware from 'redux-saga';

Enjoy.

Read more
Dec 03

Getting started with React can be a bit daunting, and as with using things like AngularJS I’ve found that using a bootstrap is a great way to start. With that in mind, I’ve chosen the wonderful react-slingshot from @housecor. It contains a demo which can be removed with an npm script and from which we’ll extract what I feel is most useful including: integration with redux, react-router, and redux-thunk.

Most React repositories seem to dispense with build tools and instead use a mixture of npm scripts and webpack to achieve what it needs to achieve. Just recently a new package manager came out to unseat the stalwart in npm, we’re using yarn, please follow the install instructions for your particular environment.

Read more
Nov 06

Speaking At Java2Days 2014

By Andrew Lombardi | Comments

Java2Days logo

It’s gotten to be a yearly event to visit Sofia in the early part of winter. I’ll be visiting again in a few weeks for the conference on the 18th and 19th of November. The Java2Days conference is a mix of Java, Cloud and Mobile development talks and has always been a great time. Between the wonderful hosts who organize the event, to the awesome attendees, it’s definitely a conference to make time for every year.

Hope to see some of you there if you’re anywhere near Bulgaria. And if you’re in Portugal over the next week, I’m there too.

Ciao!

Read more
Older Entries Newer Entries