jQuery-Mask-Plugin icon indicating copy to clipboard operation
jQuery-Mask-Plugin copied to clipboard

Does it work in react native?

Open ezequiel1988 opened this issue 6 years ago • 1 comments

I was trying to use the plugin in React native. I copied and pasted the React example but it tells me the following error: Error: Error: jQuery requires a window with a document

  • node_modules \ jquery \ dist \ jquery.js: 31: 22 in
  • components \ screenSession \ test.js: 37: 6 in componentDidMount
  • node_modules \ react-native \ Libraries \ Renderer \ oss \ ReactNativeRenderer-dev.js: 15036: 10 in commitLifeCycles
  • node_modules \ react-native \ Libraries \ Renderer \ oss \ ReactNativeRenderer-dev.js: 16636: 8 in commitAllLifeCycles
  • ... 18 more stack frames from framework internals

Could it not work in React Native?

ezequiel1988 avatar Sep 27 '19 23:09 ezequiel1988

I am not even being able to get working with ReactJs.

LuizFellype avatar Apr 05 '20 12:04 LuizFellype