React Native: .matchall Is Not A Function
I get a weird error when running my React Native app: Some sample code: const { url } = ; const reURL = ; console.debug('url:', url); cons
Solution 1:
You can use string.prototype.matchall
to polyfill.
https://www.npmjs.com/package/string.prototype.matchall
import matchAll from'string.prototype.matchAll'
matchAll.shim()
Post a Comment for "React Native:.matchall Is Not A Function"