When using Fetch utility on a helper function to read or write from the server, It's better to return the whole response object (both 200 and 400 series) instead of selecting successful response only. This creates a pure type agnostic function that can be reusable througthout the application. #softwaredevelopment #webdevelopment
コメント