reactjs tag

85 questions


1 answers
363 views
0
You want Dispatch to create a variable in the Store so that it can be used by various components.

What do you want to doYou want the State stored in the Store to be available to a variety of components.PrerequisiteWhen a user logs in, the following data can be retrieved:Json{ hubs: [ 111.com, 22...

1 years ago

1 answers
414 views
0
I want to combine text and variables with img src in react.

There is an App.js that shows a list of information extracted from db.In order for the image to be displayed, the text and variables must be connected in the img src as follows:The following settings ...

1 years ago

1 answers
316 views
0
Want to know how React separates existing operations into custom hooks

Learn how to create custom hooks using the created counting function.I am currently learning React and learned how to use the useState in components.Next, I would like to create a custom hook for the ...

1 years ago

1 answers
348 views
0
How do I use the datepicker in React to display numbers on the month selection screen?

We are implementing a calendar with React-datepicker.It says Jan for January and Feb for February, but I would like to write numbers for the month instead of English.If anyone knows how to do it, plea...

1 years ago

1 answers
311 views
0
How do you determine whether React components are controlled or not?

I'm studying about React.There is something I do not understand about the control and non-control components of React.How does a component with React determine whether it is controlled or not?Looking ...

1 years ago

1 answers
351 views
0
yarnn dev does not run

Couldn't find a package.json file appears study-react% yarn devyarn run v1.22.19error Couldn't find a package.json file in /Users/kazu/study-reactinfo Visit https://yarnpkg.com/en/docs/cli/run for doc...

1 years ago

1 answers
387 views
0
I want to implement HLS playback using rails, react-player and hls.js.

With rails at the back end and react/typescript at the front, we would like to implement the streaming playback feature using react-player and hls.js.Currently, I use a video tag to retrieve mp4 from ...


1 answers
417 views
0
How to launch a locally created React app to access and view it from a browser on another PC.

Could you tell me how to set up the local React application to be displayed from another PC browser?  I learned how to create a React app on my PC and launch it from my PC (local).When you launch a co...

1 years ago

1 answers
393 views
0
Cors errors when using the corporate number API from the front end

When I tried to obtain corporate information using the corporate number API provided by the National Tax Service on the front end side, the following cors error occurred on the browser console.I'd lik...

1 years ago

1 answers
319 views
0
Import with import filename from 'folder path';

I saw that the code drawn in React is used as follows, but since the export name is Index, import Index from 'hoge'; looks correct. Can I still use the Index component like <hoge/>?I would appre...

- 1 - »

© 2024 OneMinuteCode. All rights reserved.