python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
React, different env files with create-react-app
I am trying to set up different environment files in a React project (using create-react-app). I following the official documentation but I am getting an error:
'.env.development' is not recognized a...
saomi
Votes: 0
Answers: 2
How to perform tree shaking for lodash in a create-react-app project?
I need to perform tree-shaking to reduce bundle sizes where lodash and some other libraries are being used.
I've converted all lodash imports like this:
import {isEmpty} from "lodash";
But s...
Shivaansh Agarwal
Votes: 0
Answers: 1
Problem with CORS when using cookies in apollo-server-rexpress and create-react-app
I am using apollo-server-express in the backend and react in the frontend. I want to use cookies for authentication so I set up my server like in the code below, which is the result of multiple tutori...
Rurpot
Votes: 0
Answers: 1
Attempted import error: '@module' does not contain a default export (imported as 'module')
I'm using craco to create a react app.
Here are my ts configs:
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom...
BonisTech
Votes: 0
Answers: 0