Tag: React
All the articles with the tag "React".
What's New in React 19: Action Hooks
Published: at 03:52 PMHow To Make HTTP Requests from Tauri
Published: at 05:58 PMLearn to add HTTP requests in Tauri apps with Vite and React - a simple guide for desktop app development with HTTP support
How To Use rerender in React Testing Library
Updated: at 06:59 AMLearn how to use rerender from React Testing Library to test the effect of prop changes.
Your Guide to Testing React Components
Published: at 09:21 AMMaster React component testing with this guide on Enzyme-RTL conversion, prop testing, hooks, DOM structures, and optimization
How to handle multiple form actions in Remix
Updated: at 06:13 AMAdd name="intent" and value="actionName" to the button that submits the form. In the action, use formData.get("intent") to learn which button was clicked.
How to clear form after submit in Remix
Updated: at 06:14 AMOptimize Remix form clearing with useActionData hook, HTMLFormElement's reset, and React's useRef, minimizing client-side logic