This talk has been presented at React Advanced 2023, check out the latest edition of this React Conference.

This talk has been presented at React Advanced 2023, check out the latest edition of this React Conference.
The topic of Sergio Avalos's talk is Spatial Navigation for smart TV applications.
Sergio Avalos is a software engineer at Spotify, working on the team behind the Spotify client that runs on smart TVs.
Spatial Navigation is a term used to describe the process of navigating a TV interface using the directional keys on a TV remote control.
Using IDs for navigational elements can be error-prone, difficult to work with dynamic views, and adds extra information unrelated to the application logic.
As of 2023, browser support for Spatial Navigation is still a work in progress. There is a proposal in draft, but it is not yet implemented.
Yes, there is an open-source project provided by Norwegian Media, released in 2019, but it wasn't available when Spotify's smart TV application was initially developed.
Sergio Avalos suggests using a hook function that returns a callback for setting the reference of the HTML element and managing focus without relying on static IDs.
Some advanced challenges in Spatial Navigation include handling non-matrix layouts, managing focus on pop-ups, and implementing circular navigation for convenience.
Developers can use the library linked in Sergio Avalos's presentation to start building smart TV applications without developing Spatial Navigation logic from scratch.
A library for Spatial Navigation is needed because smart TVs have different operating systems, and using a web application for the user interface can lose native platform support, including Spatial Navigation.
We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career