reactjs tag

85 questions


1 answers
538 views
0
The method of the class of the application that I am creating in Typescript does not work as I expected.

For learning, I am creating a chess application that works with a browser using React+Typescript.The movement of a piece was able to move as I expected, but the method I made when I tried to implement...


1 answers
349 views
0
I want to resolve Invalid Hook Call Warning

What do you want to solveI would like to resolve Invalid Hook Call Warning.I am trying to create a portfolio using the api mode and react of rails.We use docker to build our environment and develop th...

2 years ago

1 answers
426 views
0
I want to combine useSWR and useMemo

Next.js implements pageation.There is something you would like to see on page {page} / {max_page} page.We calculate max_page as Math.floor after fetching data in SWR.As for max_page, the value does no...

2 years ago

1 answers
372 views
0
Stripe's paymentIntent.status is not well typed.

I am typing the official sample code of strip, but an error is printed.I am using a type annotation, but how should I guess the type here?Error Contents (parameter) paymentIntent: anyArgument of type'...


1 answers
339 views
0
'./App' does not contain a default export appears

US>Error ContentsUnexpected token, expected, (127:0)I am unable to compile due to this error.This may be a rudimentary question, but I appreciate your cooperation.import Amplify, {Storage} from 'aws-a...

2 years ago

1 answers
474 views
0
I want to animate it smoothly when I delete vertical stacking elements and it falls down.

I am trying to create something like the link snack bar below for material-ui.https://material-ui.com/ja/components/snackbars/ #complementary-projectsI'm having a hard time because I don't know how to...

2 years ago

1 answers
315 views
0
In the Web, I want to know the type and name of processing for moving an image to an arbitrary position by drag-and-drop.

Note*AdditionalThis question has not been resolved because we have not received an answer to the following questions, but the fundamental problem of the questioner has been resolved and has been subst...

2 years ago

1 answers
318 views
0
How do I prevent the useEffect of a child component from igniting?

Creating web tools with React.Is it possible to prevent the useEffect of the child components from igniting when the parent component changes to something else?We have prepared the smallest sample.Cod...

2 years ago

1 answers
249 views
0
Data retrieved from firebase cannot be displayed in jsx in React

I want to display the data obtained from firebase in react component, but it returns undefined and does not display well.I don't think the data is synchronized well from the perspective of the life cy...


2 answers
124 views
0
react functional component not re-rendered

Re-render does not run when I call setState using react hooks.Why is that?When I press delete in todo app, the state value seems to have been updated, but redrawing does not run.The state should have ...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.