Skip to main content

All Questions

1 vote
0 answers
232 views

Upgarding react-scripts from v4 to v5 gives strange error Module build failed (from ../node_modules/babel-loader/lib/index.js)

I am using CRA and when upgrading react-scripts from v4.0.3 to v5.0.1 I get this strange error Module build failed (from ../node_modules/babel-loader/lib/index.js): TypeError: SOME_FILE_IN_THE_PROJECT....
ka222jm's user avatar
  • 71
-2 votes
1 answer
1k views

How To use External JS/Jquery in React Jsx component's

Hope You are doing great and in good health. I'm a beginner in React.js and doing my FYP project, I come to a problem where I'm not able to insert external JS or Jquery code inside the react, I have ...
Hamza Bin Khurshid's user avatar
0 votes
1 answer
684 views

Build with custom-react-scripts library causes memory leaks

I have a project which works with custom-react-scripts and I faced with memory leaks during development. The application is developed using React, Mobx, Mobx-State-Tree and uses decorators with babel. ...
Vlad Morzhanov's user avatar
0 votes
1 answer
522 views

CSS Modules don't return class

I would like to install css modules into create-react-app and I came across this https://github.com/kitze/custom-react-scripts. After setting things up, I created a test style.module.css file in my ...
claireckc's user avatar
  • 455
0 votes
2 answers
622 views

Decorators don't work with custom-react-scripts

I read this article: https://medium.com/@kitze/configure-create-react-app-without-ejecting-d8450e96196a I followed its instruction and here is my code: https://github.com/franva/custom-react-scripts ...
Franva's user avatar
  • 7,077