twitter.com/DatsGabs
  • Import 3D models in React Three Fiber vs Three.js

    React Three Fiber and Three.js both are libraries for adding 3D elements on the web. What are the differences? How to import a 3D model in React Three Fiber vs Three.js? How to change the color of a GLB oject?

    Published on Aug 13, 2022 | 4 min read
  • Syntackle Blog Review

    This is the first of a series of blog posts reviewing programming blogs from creators.

    Published on Aug 11, 2022 | 2 min read
  • Cyberula Blog Review

    This is the second of a series of blog posts reviewing programming blogs from creators.

    Published on Aug 11, 2022 | 3 min read
  • React Hooks gives you superpowers

    React Hooks are a great tool for building complex components. But they are also a great tool for building simple components. This article is about the various ways you might want to use Hooks.

    Published on Aug 10, 2022 | 3 min read
  • Why you might replace Disqus with Webmentions

    Disqus is a terrible service if performance is a concern. Webmentions are a better alternative. In this post, I'll show you.

    Published on Aug 8, 2022 | 3 min read
  • Easiest page transitions in React with Framer Motion

    Framer Motion is a great library for creating page transitions in React. It's easy to use and it's great for creating page transitions.

    Published on Aug 6, 2022 | 3 min read
  • Create your own middleware with Chi

    In this post I'm going to explain how to create your own middleware in Chi, how to get the values from route handlers and other middlewares. And give some context of how the Chi library is used

    Published on Jul 15, 2021 | 2 min read
  • Custom cursor that inverts colors (mix-blend-mode)

    In this post I'm going to explain how to make a custom cursor that inverts the color of the content it's covering.

    Published on Jul 15, 2021 | 2 min read
  • Build a Multistage Golang Docker Image for your HTTP server

    In this post I'm going to explain how to make a multistage golang docker for a http server in order to serve static files

    Published on Jul 12, 2021 | 2 min read
  • How to Inject Javascript to a Site From Chrome Extension

    Tutorial on how to create a chrome extension that injects code into a site

    Published on Jul 3, 2021 | 1 min read
  • Why I Use Quokka.js for prototyping?

    In this post I'm going to explain why do I use Quokka.js for prototyping

    Published on Mar 11, 2021 | 1 min read
  • Create a secure Isolated Iframe

    In this post I'm explaining how to create a secure iframe in easy steps.

    Published on Mar 8, 2021 | 2 min read
  • How to auto adjust font-size to fit div

    In this post I'm explaining how to adjust the font-size to fit a div with JavaScript

    Published on Mar 5, 2021 | 2 min read
  • Namespacing Chrome Storage for page dependant settings for your Chrome Extension

    A tutorial of how to namespace chrome.storage for making it dependant on the current page

    Published on Mar 3, 2021 | 3 min read
  • Easy Dark Mode With CSS variables

    A small article on how to use prefers-color-sheme and :root for making a simple dark mode implementation

    Published on Mar 3, 2021 | 1 min read
  • How to Add a Custom Domain to Your Github Pages?

    Github Pages is a top-notch way of hosting you static site. To improve SEO you should add a custom domain. I'll show you how.

    Published on Mar 2, 2021 | 1 min read
  • What is Open Graph Protocol and how to create Twitter Cards?

    Have you ever seen Twitter links that have a preview to the content? I'll show you how to do them

    Published on Mar 1, 2021 | 3 min read
  • How did I make my blog with Hugo and Github Pages?

    In this post I explain the stack I use to run this site and the things I noticed in the process

    Published on Feb 28, 2021 | 2 min read