๐
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let pseudoStyleRules: any = { | |
':hover': [], | |
':visited': [], | |
}; | |
function removeMatchingSubstrings(str: string, patterns: string[]) { | |
const regex = new RegExp(patterns.join('|'), 'g'); | |
return str.replace(regex, ''); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// N.B. Consider disabling `addTypename` in InMemoryCache instead, if applicable | |
/* | |
const client = new ApolloClient({ | |
... | |
cache: new InMemoryCache({ | |
addTypename: false, | |
}), | |
... | |
}); | |
*/ |
OlderNewer