DEV Community

Cover image for Refactoring culture
Mauricio Reatto Duarte
Mauricio Reatto Duarte

Posted on


Refactoring culture

When you're doing a big refactoring into your project, there's sometimes that is better to create new things than modify the existing things. It's a good plan, because you make sure that you don't break anything.

It was a great tip from @sibelius

I'm on a refactoring for update to latest stable Material-UI, changing forms from Redux Form to Formik and creating new layout to these forms.

Even with a complete copy of a file, just changing its name and a single line, it's easier to make incremental changes to the files that'll use your new refactored component

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.