import { useParams } from 'react-router'; // The second panel, reading the URL rather than being told by its sibling. // // The shell registers `` and `/:section`, so a plugin's sections are addressable, // linkable and cmd-clickable — the same convention every core screen follows. Panels read `useParams` // independently; nothing is passed between them, so they cannot disagree. export const ExampleDetail = () => { const { section } = useParams(); return (

Detail

Section from the URL: {section ?? '(none)'}

Try /example/anything — this panel reads it from useParams, with no state passed from the panel beside it.

); };