tips

Tricks or solutions that I had to discover the hard way.

Solution: Property 'then' not found

How to solve getting this error in a Playwright test: Page 'then' not found.

Using symbols to create type safe Remix handles without duck typing

Safely type your handle data in Remix without needing to resort to duck typing with Symbols.

How to solve fallback flickering when using React Suspense

When trying to implement Suspense in React with multiple promises there is a tricky bug that results in fallback flicker.

You should be wrapping Remix’s Form component with your own

Handle CSRF, redirect fields, and remove code repetition in your codebase by extending Remix's Form component with your own.