323

February 1st, 2021 × #LevelUpTutorials#React#Node

Hasty Treat - New Level Up Tutorials Site

Scott discusses moving the LevelUpTutorials site to a new tech stack using Node, React, Snowpack, Render, and more.

or

In this Hasty Treat, Scott and Wes talk about the new Level Up Tutorials website — some of the new tech powering the site, behind-the-scenes decisions, previous iterations, and more!

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the "How did you hear about us?" section.

Sentry - Sponsor

If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.

Show Notes

02:55 - Previous iterations

05:30 - Big choices

  • No Babel up and down the stack
  • UI
    • Mostly unchanged — React + Styled Components + SCSS
      • Moving more to SCSS, CSS vars
      • Build and dev done via Snowpack
        • 50ms hot reloadin'
        • Mega fast development workflow has been a huge plus
        • Errors in the UI via Snowpack
        • Wrote a custom GraphQL importer plugin
  • API
  • Codegen
    • GraphQL code gen to create everything we need for a fully typed codebase
    • Auto-generated React Hooks
  • Hosting
  • CLI
    • Custom avalanche CLI that removes the guesswork and makes bulk operations easy
  • Caddy server for easy leveluptutorials.dev in local environments
  • Testing

Tweet us your tasty treats!

Share