Skip to main content
Juliano Alves
1 min read
JWT access tokens and refresh rotation in SPAs
HttpOnly cookies vs memory, refresh token reuse detection, sliding sessions, and why BFFs still help browser security.
Security
React
API
2 min read
Playwright E2E practices that survive real teams
Selectors, fixtures, test isolation, parallel sharding, trace-on-failure, and avoiding flaky waits in browser automation.
Testing
Playwright
DX
1 min read
WebSocket reconnection with backoff and heartbeats
Exponential backoff, jitter, max attempts, ping/pong health checks, and resuming state after reconnect.
Web
Real-time
JavaScript
1 min read
Layout animations with Framer Motion
layout and layoutId for shared element transitions, FLIP under the hood, performance with transform, and reduced motion preferences.
React
Animation
Frontend
1 min read
Image processing pipelines with Sharp in Node.js
Resize, format conversion, WebP/AVIF, streaming pipelines, memory limits, and integrating with Next.js Image or upload workers.
Node.js
Performance
Media
2 min read
Next.js middleware: edge patterns and pitfalls
Matcher config, auth redirects, geolocation headers, A/B flags, and what you cannot do in middleware without hurting TTFB.
Next.js
Security
Performance
1 min read
Sentry, source maps, and release health in Next.js
Uploading maps in CI, debug IDs, scrubbing PII, sampling transactions, and correlating errors with deployments.
Next.js
Observability
DX
1 min read
Drizzle ORM: TypeScript-first SQL
Schema as code, migrations, relations vs manual joins, SQL-like query builder, and comparing Drizzle to Prisma for control freaks.
TypeScript
PostgreSQL
ORM
1 min read
The React Compiler and automatic memoization
Rules of React, what the compiler proves, reducing useMemo/useCallback noise, and interoperability with existing codebases.
React
Compiler
Performance

© 2026 Juliano Alves. All rights reserved.