Goal: Use a generic helper function so `fetchers` keys are limited to the route strings in `routes`. fetchers is an object where you can optionally pass keys that match the route names. BUT - how do we prevent the user from passing fetchers that don't exist in the routes array? We'll need to change this to a function which takes in the config as an argument. Desired API: const config = makeConfigObj(config);
Run "Check Solution" to validate your code in the browser.