Hacker News new | ask | show | jobs
by patrickgordon 3218 days ago
Does a 304 with Fetch have a status of OK? Reason I ask is our middleware in our redux app would treat this as a successful request and then consequently dispatch a FETCH_SUCCESS action. Re-renders would still occur.

That said, the middleware could be updated to specifically handle 304s differently.

Thanks for the idea!