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 […]
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 […]
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 […]
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 […]
This was a simple fix, but something that I had a lot of due to making a baseline template with most of the life cycle functions defined as empty functions. […]
Continuing with implementation of new linting rules, I learned that you can have a ReactJS component that is defined as a stateless function, rather than explicitly as a component. The […]
One of the interesting things I came across with new linting rules is static functions in components. To make the linting happy, I had to add the word static in […]