Simplifying Mock Setup with the MSW v3 Vite Plugin

An official Vite plugin has been added in MSW v3. It eliminates the need to copy or update worker files, allowing you to configure mocks from virtual:msw. In this article, we will try integrating the plugin into a small Vite and TypeScript application.

Removing Margins at a Container's Edges with CSS margin-trim

Card padding plus the margins of the first and last children can leave more space at the edges than intended. margin-trim removes margins at a container's edges while keeping the spacing between elements. Learn the basics through a card example.

Trying TypeSafe AI's Jev with TypeScript

Jev is a model that takes a state and returns choice decisions, graded scores, and the probability that something is true. This article evaluates support inquiries in TypeScript and routes them to departments or human review based on actual outputs.