Trevor I. Lasn
Staff Software Engineer & Engineering Manager
Tartu, Estonia
31 years old
Software engineer with 10+ years of building products. Led engineering teams for 5+ years across tech companies. I have a strong instinct for what makes products work well for users, and I'm committed to maintaining high standards in both product design and code quality.
167 posts, 322,558 views
2025
- How JavaScript Was Written Back In the DayHave you ever been curious how JavaScript was written back in the day? I was, so I dug into some of the early frameworks and libraries to see what I could learn.6 min readjavascript
- Introducing courses.reviewsCutting through the noise of thousands of online courses to find the ones actually worth your time2 min readtech webdev javascript
- JavaScript compile hints: what they are and when to use themV8's compile hints let you control which JavaScript gets compiled immediately during page load3 min readjavascript web performance
- Error.isError(): A Better Way to Check Error Types in JavaScriptWhy the new Error.isError() method solves important cross-realm issues and provides more reliable error identification than instanceof3 min readjavascript
- Robust Data Fetching Architecture For Complex React/Next.js AppsHow I use the 'Three Layers of Data' architecture pattern for React and Next.js apps to avoid common pitfalls, tech debt, and improve performance12 min readwebdev
- Float16Array in JavaScriptUnderstanding the new 16-bit floating point array in JavaScript2 min readjavascript
2024
- AsyncLocalStorage: Simplify Context Management in Node.jsHow AsyncLocalStorage solves context management in asynchronous Node.js apps5 min readnode.js
- scrollbar-width & scrollbar-gutter: CSS Properties for Layout ControlPrevent content shifts and refine scrollable UIs with scrollbar-width and scrollbar-gutter3 min readwebdev css
- Add Auth to Astro 5 with Clerk in 5 MinutesThe simplest setup for adding Clerk authentication to your Astro project, with minimal code4 min readwebdev
- CSS ::target-text for Text HighlightingA look at how browsers can highlight text fragments using CSS ::target-text, making text sharing and navigation more user-friendly3 min readwebdev css
- align-content: The Simplest Way to Center Content with CSSFinally, we can center things in block layouts without flexbox gymnastics2 min readwebdev css
- Form Validation That Doesn't Annoy Users: CSS :user-valid and :user-invalidThe new pseudo-classes :user-valid and :user-invalid give us a smarter way to style form validation states based on user interaction3 min readwebdev css