Articles

Written by Code1, high-performing teams to improve your business.

How to generate react components automatically

Rafael Martins20 Feb 2024

Introduction

In the ever-evolving web development landscape, efficiency and consistency are key factors in maintaining a streamlined workflow. When working on large-scale React.js projects, creating new components can become repetitive and time-consuming. To alleviate this challenge, developers often turn to automation tools that allow for the automatic generation of files. This article explores various methods and tools available for this purpose, providing a step-by-step implementation guide. By leveraging these techniques, developers can enhance their productivity, ensure code consistency, and focus on the creative aspects of building robust React applications. Let’s dive into the automatic component file generation world in React.js and uncover the tools and strategies that can revolutionize your development process.

Read more

Personal Knowledge Management, safe sailing in a grandiose ocean: Part 1 - Introduction

Marcelo Griggio Cajueiro09 Oct 2023

Imagine yourself steering a boat through the uncharted waters of the Information Age. The seascape is expansive, brimming with promise and possibilities. Armed with a smartphone and a computer, you’re no mere passenger but a full-fledged captain, ready to navigate across limitless seas of data. However, the waters turn choppy, and you’re suddenly overwhelmed by a deluge of information. How do we handle this reality?

Read more

Retrieving the top N records with ties on Postgres

Gabriel Sobrinho28 Sep 2023

A customer asked for a top absentees report, and we immediately created a query, but an unexpected behavior happened.

Read more

Ruby’s sorting is not stable!

Gabriel Sobrinho14 Sep 2023

While investigating a flaky test in a Code1 customer, we found an issue where an array was being sorted wrongly, apparently randomly, while working fine locally.

After a few rounds of investigation, we found a vital saying in Ruby’s documentation: The result is not guaranteed to be stable. When two keys are equal, the order of the corresponding elements is unpredictable.

Read more

Subscribe to receive our posts first hand!

Code1 logo