~/talk

Smarter Filtering in React – How We Built a Reusable Component for Complex Data

Talkat React India 2025 · 2025-10-15..11-01· [react, component-design]
links:none on file
slides:none on file

Harness replaces a brittle, page-specific filter UI with a reusable inline filters system that scales across listing pages, handles thousands of pipeline executions with 16+ fields, and reduces developer work. Iteration moves from naive shared state to an anti-pattern using React.cloneElement to a clear Context API + inversion of control. Core pieces: a filters map holding value/query/state and bidirectional parsers for URL serialization. Result: instant filtering, type safety, better performance, decoupling, easy testing, and positive internal rollout feedback.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:02Why filtering matters in apps
  3. 3:12Defining usability and technical goals
  4. 5:00First iteration pitfalls
  5. 6:06React.cloneElement drawbacks
  6. 6:27Context API with inversion of control
  7. 9:19How filters work in practice
  8. 11:26Parsers for URL synchronization
  9. 13:13Filters map and state management
  10. 16:01Data flow from user to URL
  11. 17:49Live demo of filter implementation
  12. 24:15Advanced features and flexibility
  13. 25:40Evolution of the design
  14. 26:21Key takeaways and summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.