skip to Main Content

Package can not be resolved in Xcode

Package.resolved file is corrupted or malformed; fix or delete the file to continue: unknown 'PinsStorage' version '3' at '.../project.xcworkspace/xcshareddata/swiftpm/Package.resolved'. This happens after adding package https://github.com/socketio/socket.io-client-swift We already did a clean build and deleted derived data but it is still not…

VIEW QUESTION

Reactjs – Prevent fetch making unwanted requests

fetch is making multiple unwanted requests, I tried the below but it still makes 6 to 10 requests const [allowParse, setAllowParse] = useState<boolean>(true); socket.on("upload_finished", function (response) { if (allowParse === true) { console.log("parse start"); fetch("start-parse", {method: "POST"}); setAllowParse(false) } });…

VIEW QUESTION
Back To Top
Search