Skip to content
react

How to fix inputArgs[0].match is not a function in React

May 13, 2022Abhishek EH1 Min Read
How to fix inputArgs[0].match is not a function in React

Table of Contents

If you woke up this morning and started your react project, you might have got the following error:

Uncaught TypeError: inputArgs[0].match is not a function

Error: Uncaught TypeError: inputArgs[0].match is not a function

This is not an error caused by your code. It is caused by a bug in the React Dev Tools extension.

Fix 1

The easiest fix available now is to disable the React Dev Tools, until they fix the bug!

Fix 2

Now that the issue is fixed in React Dev tools you can remove React Dev Tools extension and add it back so that it gets updated to the latest version.

Do follow me on twitter where I post developer insights more often!

Leave a Comment

© 2024 CodingDeft.Com