Bulk-Move Named Files Into Folders

If you’re looking to improve your JavaScript file structure, this blog post is for you. In this tutorial, I’ll walk you through the process of bulk-moving named files into folders, making it easier to organize and manage your code. By using a simple command line script, you can easily convert your named files into index.js files within new folders that match the current file name. This approach will not only simplify your codebase, but also help with file-specific documentation and allow for styles or other files you may want to add in future…

How to Test Container Components in React

Assuming you would want to unit-test container components in React (i.e., connected components in a Redux-based project), or any component that is wrapped in a higher-order component (HOC) etc. really, here’s a simple thing you should always do: 👉 Also export the “naked” component! I am talking about something like this: // … export { […]

Becoming Human

New year, new job. With the end of 2017, I left Inpsyde, and as of January 15, 2018, I am one of the lucky devils working at Human Made. This post provides a little background to that move.