Re:300ms Faster: Reducing Wikipedia's Total Blocking Time
by 6510 on Monday May 29, 2023 @12:53PM
(#36115649)
One could use js to push the state into the url.
[ Parent
| on HN ]
Re:300ms Faster: Reducing Wikipedia's Total Blocking Time
by toast0 on Monday May 29, 2023 @12:58PM
(#36115698)
It's just opening and closing detail panes (personal recipie site), there's no reason to put the open/closed state in the url.
But if I can do it with all html, that's better than a function to add / remove a css class and document.onclick = a function to find which recipie you clicked on and adjust the css class.