suliworld.com

Articles about code, no code, javascript, react, TypeScript and much more ...

suliworld.com

Blog

  • Why I choose Obsidian as my PKM
    When I browse articles about productivity and note-taking apps review, the concept of personal knowledge management (PKM) is something that comes often into the scope. It makes me think that PKM is the new black! After reading a lot of articles about this subject, building a PKM brings note-taking to the next level. The principle […]
  • How I use Make.com to automate my publication process
    Publishing content on several platforms looks like a copy/paste/adapt process, let me explain how I automated it.
  • My few obvious advices I wish someone had told me when I started coding
    How to improve your code with a few obvious advices
  • How to start with currying in javascript
    In this article we will explore the basics of currying in javascript
  • Getting started with svelte components
    Creating your first svelte component is simple. In this post, we’ll go over the basics of creating a component
  • How to solve sudoku puzzles using backtracking algorithms and TypeScript
    New article to discuss how to use backtracking algorithms to solve sudoku puzzles
  • What are first-class and higher-order functions in javascript ?
    What are first-class and higher-order functions in javascript ? Let’s find out in this blog post.
  • 5 ways to iterate an array in javascript
    Looping through an array is one of the most common tasks needed to perform when working with Javascript. Let’s see how to do that.
  • How to use backtracking with javascript, and solve the n queens problem
    What is backtracking, and how to solve the n queens problem ? Check out my new article to find out!
  • Recursive functions with Javascript
    Recursion is a powerful programming technique that can be used to solve problems in a more elegant way than traditional looping mechanisms.
  • How to Use Airtable as a Database for Your React Application, using TypeScript and custom hooks
    In this blog post, we will discuss how to use Airtable as a database for your React application. We will use TypeScript and create a custom hook to get the data.
  • How to set up and use environment variables in your react app
    Environment variables are incredibly useful when it comes to backend development, but how to set your react app to use some on the front end?
  • Get Started with React: A (very) quick start guide to creating an app boilerplate
    How to quickly get started with a react boilerplate? This post will describe an efficient way to get started in minutes.
  • The Benefits of Pure Functions in JavaScript
    In this article we discuss of the benefits of pure functions.
  • Why am I using Divi for WordPress ?
    If you’re looking for an easy-to-use, fast, and beautiful WordPress theme, look no further than Divi. Created by the team at Elegant Themes, Divi is the perfect theme for anyone looking to create a stunning website without any coding required. In this blog post, we’ll take a look at the top benefits of using Divi […]
  • What are the greatest benefits of SvelteJS ?
    SvelteJS is a new JavaScript framework that has been attracting much attention lately. It has been touted as a “compile-time JavaScript framework” because it allows you to write your code once and compile it down to regular JavaScript that runs in any browser. In this blog post, we will look at the top benefits of […]
  • How to set up routing in an Express.js project using TypeScript
    This tutorial will go through the steps to set up routing with express.js and some best practices. This post follows the setup of the Express.js backend system described here: How to set up a Node.js backend using Express.js and TypeScript What is routing? A route is a system that associates an HTTP request and a […]
  • 8 Reasons to consider TypeScript for your next development project
    If you’re looking for a more structured and sophisticated web development project language, TypeScript might be the right choice for you. Here are 8 reasons why you should consider using it for your next project: 1. It can make code much more readable and organized. TypeScript can help to clarify your code and make it […]
  • Why I use VSCode as an IDE
    I have been a VSCode user for some time now and I am very happy with the decision. The benefits that VSCode has to offer are so many it is hard to list them all in one post, but here are just a few of the reasons why VSCode is my IDE of choice. VSCode […]
  • How to setup a Svelte with Typescript project
    TypeScript is a superset of JavaScript that provides optional static typing, classes, and modules. Static types allow TypeScript to provide more accurate type checking and tooling support. Classes and modules enable better organization of your code. TypeScript can be used with any existing JavaScript codebase. It transpiles down to plain old JavaScript so there’s no […]
  • How to set up a Node.js backend using Express.js and TypeScript
    Node.js is one of the most popular node frameworks for web developers today, and when combined with Express.js, it can be even more powerful. Express is a node framework that lets you build node apps in an easy way by using node’s built-in middleware concept. This has many benefits like making your code more readable […]
  • How to create a custom React hook to fetch an API (using TypeScript)?
    Hooks are convenient for modern react development. The react framework comes with standard hooks to manage state, for example, with useState, and here we will write our hook to fetch data from any API. Buț first … … what is a hook? A hook is a javascript or typescript function that can include other hooks. […]
  • How to improve the use of the console in javascript
    When we develop, and not only in javascript, it is regularly necessary to read the information contained in a variable or the execution result. In javascript, we have the Console object, which allows us to ask the program to write a message or a result during its execution. The most commonly used method, and one […]
  • Le currying en javascript, application pratique
    Dans un précédent post, j’ai abordé le principe de base du currying en javascript, en montrant comment on peut faire un usage partiel d’une combinaison de fonctions. Aujourd’hui je vous propose de réaliser une fonction permettant de filtrer une collection basée sur ce principe. Nous allons avoir besoin d’un fichier javascript et d’un environnement node.js […]
  • Comment éviter null et undefined avec Maybe et Result en javascript
    Il existe beaucoup d’outils, de fonctions et de techniques pour évaluer si une variable existe, si elle est bien définie et si elle n’est pas nulle. En travaillant sur un projet suivant le paradigme de la programmation fonctionnelle, j’en ai pratiqué un qui mérite une attention toute particulière. Il s’agit en fait de deux méthodes […]
  • 3 alternatives à if & else pour améliorer la lecture du code en javascript
    Ecrire des conditions pour tester des expressions et des variables fait partie de la logique de base.En javascript la condition if, else if, else est largement utilisée mais peut dans certains cas devenir lourde à écrire ou relire, ou peut être simplifiée et offrir une meilleure lisibilité du code. Switch Le switch va permettre de […]
  • javascript, pourquoi typer les variables ?
    … et quel est l’avantage d’utiliser typescript ?
  • lodash : la petite grande librairie
    Cette bibliothèque javascript propose un ensemble de fonctions prêtes à l’emploi permettant principalement de simplifier la manipulation des données (tableaux, objets et autres collections).
  • Le principe du currying en javascript
    En informatique, plus précisément en programmation fonctionnelle, la curryfication est la transformation d’une fonction à plusieurs arguments en une fonction à un argument qui retourne une fonction sur le reste des arguments. Le terme vient du nom du mathématicien américain Haskell Curry