home.social

#fastify — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #fastify, aggregated by home.social.

  1. 🔖 The latest issue of my is live, issue 012.

    February in numbers: 5 CVEs patched across & , 5 releases shipped, and a hard conversation about whether security triage is still sustainable in the age of AI 🔐

    blog.ulisesgascon.com/newslett

  2. An SSR Performance Showdown

    🔍 Comprehensive #SSR Performance Testing:
    • Test setup: 2398 div elements spiral rendering on #NodeJS v22, #M1Mac with 8GB RAM

    📊 Performance Rankings (requests/second):
    #fastifyhtml: 1088 (baseline templating)
    #Vue: 1028 (best full-featured performance)
    #Svelte5: 968 (pre-release version)
    #SolidJS: 907 (impacted by hydration IDs)
    #Preact: 717 (lightweight alternative)
    #React19: 572 (RC version)

    🛠️ Testing Environment:
    • Built using #Fastify and @fastify/vite
    • Production builds tested
    • Consistent styling and template implementations
    • No client-side reactivity features

    💡 Key Findings:
    #Vue and #Svelte offer best balance of performance and ecosystem maturity
    • Hydration markers impact performance (demonstrated in #SolidJS)
    • Simple templating (#fastifyhtml) outperforms full frameworks

    Source: blog.platformatic.dev/ssr-perf

  3. #100DaysOfCode

    #Day50 : continue Bookshelf project
    - implemented reservation function, clicking on a book card button "reserve", adds the book to the reservation modal `<dialog>`
    - deployed #Fastify #SQLite backend to fly.io @flydotio
    - deployed #Vite frontend @vercel

    bookshelf.teotimepacreau.fr/

    Source Code : github.com/teotimepacreau/book

    @fastify

    #WebDev #Frontend #LearnWebDev #Javascript #LearnToCode #LearnJavascript #JS #HTML #CSS #UI #VanillaJS

  4. #100DaysOfCode

    #Day49 : continue Bookshelf project
    - implemented View Transitions API fade animation when changing page
    - implemented Scroll-Progress-Timeline to animate with CSS only the elements entry on scroll using `animation: book-entry linear forwards; animation-timeline: view(); animation-range: entry 0% 35%;`

    Source Code : github.com/teotimepacreau/book

    @fastify
    #WebDev #Frontend #LearnWebDev #Javascript #LearnToCode #LearnJavascript #JS #HTML #CSS #Vite #Fastify #UI #VanillaJS

  5. #100DaysOfCode

    #Day48 : continue Bookshelf project
    - Authorization : only authenticated user that have a session-cookie can add a book to the collection and the SQL DB
    - Adding book to the collection : when addBookForm is received it visually adds, and adds to the DB
    - At reload : it combines "goodreads" & "bookviaform" table

    Source Code : github.com/teotimepacreau/book

    @fastify

    #WebDev #Frontend #LearnWebDev #Javascript #LearnToCode #LearnJavascript #JS #HTML #CSS #Vite #Fastify #UI #VanillaJS

  6. #100DaysOfCode

    #Day47 : continuing Bookshelf project
    - Login function : <dialog> element contains the connexion form. username and password are passed to the backend endpoint "/login"
    - Authentification : Retrieving username and password. Hashing it through bcrypt. Fastify-secure-session plugin adds a session cookie.

    Source Code : github.com/teotimepacreau/book

    @fastify

    #WebDev #frontend #LearnWebDev
    #Javascript #LearnToCode
    #LearnJavascript #JS #HTML #CSS #Vite #Fastify #UI #VanillaJS

  7. #100DaysOfCode

    #Day46 : Bookshelf project

    - backend with #Fastify, querying with #SQL a database of books from my Goodreads account and scrapping books covers
    - frontend with #Vite
    - implemented search and filter function
    - working on an authentification to allow admin to add books to the collection

    Source Code : github.com/teotimepacreau/book

    #WebDev #Frontend #WebDesign #LearnWebDev
    #Javascript #LearnToCode
    #LearnJavascript #JS #IndieWeb #PersonalWeb #Homemade #UI #UserInterface #VanillaJS