reactjs tag

85 questions


1 answers
50 views
0
I want to transition the page when I enter the react-router.

I am using a react-router.So, I have a question. I would like to take the same action (page transition) as when I click Link when I press the Enter key while focusing on TextField in DOM below. Is API...

2 years ago

1 answers
69 views
0
How to embed Twitter's "List of Tweets Corresponding to Search Results" into React

Thank you for your help.I would like to embed a list of tweets corresponding to Twitter's search results in React as comfortable as possible. Does anyone know a good way?As an image of the behavior, w...

2 years ago

1 answers
71 views
0
If you enter npm list --depth=0 after creating a directory in the npx create-react-app, you get an error.

When building a react environment, npx create-react-app hibiton by entering the I tried npm list --depth=0 and got a lot of errors.So I have two questions.①Do I get this many errors when I only type ...

2 years ago

1 answers
52 views
0
React.DOM Fails with undefined

I want to learn the basics, so I want to move without JSX first, and when I use React.DOM.div, I get the following error:build.js:20123 Uncaught TypeError: Cannot read property 'div' of undefinedconst...

2 years ago

1 answers
54 views
0
I want to give the state to the child component in props at componentWillUpdate().

Do componentWillUpdate() on one component and I would like to give the state of the parent component in props to the child component when the state or props is updated. How can I do that?

2 years ago

1 answers
152 views
0
vscode enhancementsDevelopment on Docker with Remote-Containers does not reflect React in real time

I configured Dockerfile and docker-compose.yml as follows.Dockerfile: FROM node:16docker-compose:version:3services: node: build:. ports: - 3000:3000 volumes: - ./ : /tmp/working working_dir: /tmp/work...


1 answers
67 views
0
React-draft-wysiwyg does not work well in Next.js

I am thinking of deploying react-draft-wysiwyg in Next.js by referring to the page below.Easily implement rich text editors running on your browser using React Draft WysiwygWhat do you want to doI wan...

2 years ago

1 answers
47 views
0
How to display the Western calendar in Japanese calendar by react

<InputDateAsNumber isYM value={dayjs().format(YYYYMMDD)}/> as shown inSeptember 2021appears.R3/09How do I make it look like this?

2 years ago

1 answers
115 views
0
Questions about using useSWR in cloud firestore

I would like to fetch Cloudfirestore on the client side with useSWR, but I didn't know how to write the API specification, so I asked you a question.This is because I am currently using NextJS to crea...

2 years ago

1 answers
120 views
0
firebase.storage() error firebase.storage is not a function in Next.js

I was able to use firebase.storage() in React (firebase7.20.0), but even though I wrote the same code in Next.js, I got an error message for firebase.storage is not a function.What is the cause?fireba...

2 years ago
« - 6 - »

© 2024 OneMinuteCode. All rights reserved.