365体育足球滚球比分

All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

How to view a simple create-react-app component offline?

Specifically, I have a very simple calculator component. No databases involved, just simple computations done client-side. I want to use this component on an old laptop that cannot connect to the ...
-1
votes
0answers
20 views

Error in installing: Create-react-app [Getting stuck]

I am new in ReactJs and was trying to execute npx create-react-app my-app. However, my command line is getting stuck at this place. I have latest version of NodeJs, npm version(+6). Already installed ...
0
votes
0answers
5 views

What is the way to set X-Frame options in react app

I've build a react app using create-react-app. But then I came to know that my react app is open for clickjacking attack as I didn't set any X-Frame options in my app. Now how can I set X-Frame ...
0
votes
0answers
11 views

Why is it not possible to Bundle Types this way?

When I do this in a Typescript File... export type TAddChild = () => void And trying to reexport it to Bundle Multiple Types in different Files export { ElementActionTypes, AddChild } from "./...
0
votes
0answers
15 views

How to Inline Module.css in create react app

How to inline all the css instead of loading css chunk files in create react app. I am using module.css approach suggested by CreateReactApp. I don’t want o load css chunks since it’s render ...
0
votes
0answers
15 views

Getting Error while Creating a new React App from Terminal on NPM 6.14.4

While using the below command, I am getting a few errors. npx create-react-app my-app The errors I am getting can be seen below: npm ERR! Unexpected end of JSON input while parsing near '......
0
votes
1answer
52 views

How do I render a React component from a command line client? [closed]

I wrote a React app which allows users to assemble a diagram which is then rendered in svg. Using http://reactjs.org/docs/react-dom-server.html, I added an export option which allows the user to ...
1
vote
2answers
28 views

How dispaly an svg on the option of select with ReactJs?

I have a select flags which the options are the img (which src are svg) My codeSandbox. Config.default = "fr"; Config.list = { de: { text: "Deutsch", icon: require("./images/de.svg") }, ...
2
votes
1answer
29 views

Problem with promise and create-react-app

I'm a bit new to react, so don't bully me hard. I got to solve this until tomorrow as my homework, and I thought you could help me with it. Got a task which sounds like: Create a promise that ...
0
votes
0answers
8 views

this.props.children / React / lighthouse Metrics /

We are doing performance research on our online product. Our application is running on React App. I observed that this.props.children blocks the main thread and it impacts the light house metrics to ...
1
vote
1answer
26 views

Why do I keep getting a 500(Internal Server Error) GET http://localhost:3000/favicon.ico 500 (Internal Server Error)?

When I began this project I didn't keep anything from the CRA files that are generated, so why do I still get this error, where is it comming from? GET http://localhost:3000/favicon.ico 500 (Internal ...
0
votes
0answers
17 views

React app slows down and JS Heap gets bigger. How to find memory leak?

I'll try to simplify this as much as possible. I have a "create an avatar" page which contains a "color chooser" component. Each time you click it a function generates a new random color and that ...
3
votes
0answers
26 views

ESLint doesn't suggest useEffect necessary subscribers (CRA + TS + ESLint + Prettier)

When I tried to create custom hook I have faced some issue. ESLint hasn't suggest me subscribers for useEffect. (fetch hadn't been suggested and i filled it manually) I also tried eslint-plugin-react-...
-2
votes
1answer
14 views

Can good SEO performance be obtained by using create-react-app ? If yes, how? Any suitable reference or guide [closed]

Please don't mention gatsby.js or next.js as an alternative for now. I am looking for SEO results only by using create-react-app.
-1
votes
0answers
12 views

create-react-app giving me application error when deployed to heroku

I have deployed my React application that was made using create-react-app to heroku. But when I try to open it (heroku open), I get an application error like this: Application error But the ...

15 30 50 per page
1
2 3 4 5
171