practicing with reselct and redux. this example takes data about a golf tournament and uses reselect to augment the data.
This example demonstrates a golf tournament leaderboard that uses reselect’s `createSelector` to derive player statistics from raw Redux store data, including per-round scores, total strokes, and the last hole played. The visualization renders table rows from augmented player objects, showing performance relative to par using course hole data. It relies on reselect’s memoized selectors (like `playersWithStrokesPerRound` and `playersWithTotalStrokes`) and lodash’s `last` utility, with the source data mimicking PGATour.com’s 2017 Sony Open leaderboard. The code highlights how to compose selectors to compute derived data without mutating the original state.