Remix newbie here so forgive me if this is a silly question.
I've got these routes:
/dashboard/achievements/dashboard/achievements/edit/$id
The first loads and displays all achievements from a db and then second shows a modal for editing a specific achievement. At the moment, I am making another request to the db on the second route to get the data for that achievement only. Would it be better to use useMatches here and get all the achievements from the first route and filter it down to the required achievement?
I guess this will be faster as it's not doing another request to the db?