π₯ If the Fetch API seems a little cumbersome and you donβt want to reach for Axios, you can always make a handy little function that applies your defaults (assumes JSON) and can be overwritten if needed
Next βπ₯ Making a copy of an object and need everything but a property? Use JavaScript destructuring to pull that prop out and then use a ...rest to collect the rest!