If you have been using aliases in Webpack, and want to switch over to Babel instead, you can use the Babel Module Resolver Plugin. Then just configure your aliases, such as: […]
I remember moving some functions from a local component into a store, and it quit working. When I figured out the problem, I ended up reverse engineering some of the […]
Came across an error for hasOwnProperty when adding this.storeKeys to a React component listening to a Reflux store. So I: Stripped the component down to just a few lines; still […]
I upgraded an application from React Router v2 to v3, then v4. The upgrade to v3 was relatively painless. The upgrade to v4 caused a few headaches, due to multiple […]
This is a really neat site for testing regular expressions in a vacuum: http://regex101.com/ I’ve used it a few times now to test the expression before implementing in code.
Building some custom enhancements to existing components, I wanted to use the ES6 style spread props to automatically pass any params through to the underlying base component. However, it was […]
For persistent storage after closing the browser, you can use HTML5 “sessionStorage”. It only takes simple values, not complex objects (unless you do some JSON to string conversions). Saving something: […]