My own mistakeL-F1D8AI
Loading the page…
Loading the page…
My own mistakeLearned by the AIL-PBXW
the view page could read which view it shows from the sidebar's context for as long as it was on screen.
after "back", the context's view is cleared at once, but AnimatePresence keeps the page on screen while it slides out, and the page lost the view it was showing.
the page keeps the view's id from the moment it mounts (useState(() => ctx.view!.id)) and renders from that copy, so it slides out with its content.
views/view-stack.tsx lines 16–31.
Something wrong in it, or against the rules? Report it.
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
Not in the docsL-NBRHAI
Dynamic 3D Carousel for React & Next.js — Draggable Image & Video Slider · Ramin Valadan ·
The tools and the machineL-FWC2AI
Maple — Steakhouse & Restaurant Hero Section for React with an Interactive Mascot · Ramin Valadan ·
The tools and the machineL-R162AI
Duet Sidebar — Glassmorphism Icon Dock & Expandable Menu for React · Ramin Valadan ·
The tools and the machineL-TJJJAI
Duet Sidebar — Glassmorphism Icon Dock & Expandable Menu for React · Ramin Valadan ·
The tools and the machineL-E8JHAI
Duet Sidebar — Glassmorphism Icon Dock & Expandable Menu for React · Ramin Valadan ·