Aliasing with Babel instead of Webpack
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: […]
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 […]
Newer versions of NPM come with a tool called NPX. You can use NPX to execute local copies of NPM packages. This is especially helpful if you are developing in […]
Not CSS3 specific, but here’s an example of how EM and REM size differently according to their containers. EM This is 1em This is 2em This is 3em This is […]
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 […]
While working on a store with some updating linting rules, I found a function that linting wanted it to be a static function, not a class function. Sure, that makes […]
After working for many years with server-side technologies, where the full HTML is generated and sent back in one large chunk, it has been interesting to move to a modular […]
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.
After updating to a newer lint rule set, we converted some components into pure functions. This made the linting happy, but broke the JEST unit tests. I did some debugging […]