~/lightning

My favourite thing!

Lightningat Nordic.js 2025 · 2025-10-02..10-03· [javascript]
links:none on file
slides:none on file

A short lightning demo builds a list component with search and sort and shows how common approaches break: 97–98% fail by mutating either the original array or the currently filtered array and end up with wrong results when queries or sorts change. The usable solution is to store search query and sorting in state and to derive the displayed list from that state on every update, which keeps search and sort composable and predictable.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.