React TV Navigation
November 2020
This was the beginning of the navigation we later used at Napster. The goal was an LRUD handler that did not depend on the DOM. The React spatial navigation around at the time all read the DOM. That was fine on a high-end television, and it would not do on a slow old one.
It relied on mount order. Left, right, up, and down walked a simple tree, with no reading of positions off the page. It was very fast, and on the worse devices the speed improved a lot.
github.com/GeraldHost/react-tv-navigation