Keep Your UI State Alive in Inertia.js: How preserveState Works and When to Use It
When navigating within an Inertia SPA, you can keep the current component instance alive with preserveState. Learn how it works, verify it, and when to avoid it.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
When navigating within an Inertia SPA, you can keep the current component instance alive with preserveState. Learn how it works, verify it, and when to avoid it.
Keep exit animations playing before React removes conditional components from the DOM.
Bun's integrated bundler handles TypeScript, JSX, and npm resolution in one command. Here is when it fits and when it does not.
Learn how to use styled-components' shouldForwardProp option and transient props to keep custom styling props out of the DOM, eliminate React unknown-attribute warnings, and maintain clean HTML output.
Stop wrapping every variable in useMemo. Learn how to identify truly expensive computations and use referential equality to prevent unnecessary React re-renders.
Component Story Format turns isolated React components into interactive documentation with built-in controls and executable tests. Here is how the pieces fit together.
The `as` prop lets a styled component render as a different HTML tag while keeping its styles. Here is how it works, where it breaks, and how to verify the result.
Learn how Ant Design’s Form component lets you build complex, validated forms with minimal boilerplate. The guide covers declarative field registration, Grid‑based layout, dynamic fields, performance tips, and a working example.
Learn how Chakra UI style props and responsive array syntax keep design tokens centralized in React components, and when prop verbosity becomes a liability.