diff --git a/website/src/App.res b/website/src/App.res index f0cd21b..a2858f7 100644 --- a/website/src/App.res +++ b/website/src/App.res @@ -219,15 +219,22 @@ module TraitsGroup = { module Sidebar = { @jsx.component let make = () => { - let cls = Computed.make(() => + // The rail is mounted once for the whole session and every state it has — + // hidden on the landing page, collapsed, open — is expressed as a class. + // Gating it on `View.Show` instead would rebuild its DOM on every + // navigation (the condition re-renders its children whenever the route + // signal fires, even when the condition itself is unchanged), and a rebuilt + //