Category: Software Development

Dawid Perdek

|
Even if you start working with a large corporate client from small functionalities or MVP, sooner or later, you will have to face something bigger. Eventually, you’ll get the entire module of a huge system on your plate, or the key, most-used view in their product. In such a situation, it is worth avoiding some simple mistakes…
Vite  – a Worthy Successor to Webpack? Pros And Cons of Both Solutions

Vite  – a Worthy Successor to Webpack? Pros And Cons of Both Solutions

This article explains what Vite is and briefly introduces you to bundling. Let’s find the answer to whether it is worth departing from Webpack. I will focus on comparing Webpack with Vite, showing the advantages and disadvantages of both solutions. Let’s roll. What Is a Bundler? A bundler is an indispensable tool in today’s web development. It allows you to work comfortably with code in languages ​​not supported by the browser by default, such as Typescript or SCSS. It can also adapt our application to the production or development version. In the case of the development version, it will provide us with access to hot reloading of the page during changes…

Kacper Cierzniewski

|

10 Tips for Better Initial Configuration of Full-Stack Apps 

10 Tips for Better Initial Configuration of Full-Stack Apps 

While creating a new app, most developers first think of proper architecture. While it’s important to think thoroughly about how an app should be divided into smaller modules, we shouldn’t forget about a thing that every developer in the project will feel — it’s configuration. And it’s good to start a project with proper configuration.   Here, I’ll give you some advice on how we configure new full-stack projects at Synergy Codes. We’re doing projects in TypeScript, currently mostly with NestJS back-end and React front-end, but you can use most of these tips in any framework or language.  1. Use monorepo  Monorepo is the easiest way to contain small…

Tomasz Świstak

|

The Rust’s Stories: Rust, ECS, and WebAssembly 

The Rust’s Stories: Rust, ECS, and WebAssembly 

Intro  “The Bit Knight, the king calls you to serve. If you get the princess back, you will be rewarded.”  This article will focus on turn-based roguelike games’ design/architecture level. For implementation details, please visit my repository or repo of the author of the book titled “Hands-on Rust” (link to the repo). The game is based on the proprietary bracket-lib library, but the knowledge contained in the book can be transferred to another engine, e.g., bevy (work in progress :)).  Chapter 1: The Idea  From an early age, I was fascinated by video…

Gracjan Górecki

|

How to do your null-checks safely in JavaScript

How to do your null-checks safely in JavaScript

Checking if the value is null or undefined in JavaScript (and TypeScript) can be a real headache and doing it incorrectly can lead to unexpected errors during runtime.  In most strongly typed languages the value can be either null or not, however that’s unfortunately not the case in JavaScript.   In JavaScript, you will encounter null or undefined. To make life even harder, there are also double (abstract ==) and triple (strict ===) equality comparisons which combined with null/undefined confusion can be a challenge, especially for beginners.   Let’s start with a little theory, and later I’ll guide you through examples and finally show you a painless (and safe!) way to do the null checks in the code.  Equality comparison  There are three value-comparisons in operations in JavaScript:  == Abstract Equality…

Katarzyna Biernat

|