reactjs tag

85 questions


1 answers
89 views
0
I want to add objects to the array (forEach, push)

I would like to push the object to the array using the sample code below, but I cannot do as I wish.Push {text:aaa, imagePath:} to arry in the first loop using forEach and I think I'm pushing {text:bb...

2 years ago

1 answers
107 views
0
How do I reverse the image I took/selected with react native?

Prerequisites/What you want to achieveOther websites ask the same questions.Thank you for your cooperation.I would like to reverse the image itself horizontally from the imagePicker.showImagePicker se...


1 answers
132 views
0
SyntaxError: Unexpected token

SyntaxError: Unexpected token error.import React, {Component} from 'react';import axios from 'axios';import SearchForm from './SearchForm';import GeocodeResult from'./GeocodeResult';import Map from '....

2 years ago

1 answers
124 views
0
Unable to get JSON from API server present in Heroku in axios

What do you want to hearI would like to use axios to get JSON from the API server in Heroku.The following error occurred and I cannot...The API server side and client side have not been able to isolat...


1 answers
51 views
0
I would like to know the best practices for importing es6 modules to global.

I implement js using babelify.Among them, when using libraries such as react, underscore, and jquery, I think it is often used throughout the application.How should I deal with this global use?When im...

2 years ago

1 answers
105 views
0
I'd like to see the formula written on Next.js blog katex.

I used remark to handle the md file, so I installed remark-math in accordance with the documentation, but now I have imported the module in import, and is it possible for Next.js to import this module...


1 answers
73 views
0
Unable to execute jsx command

Sorry for the beginner's question.I installed node.js and put react-tools in the npm command.It was written that you can use npm jsx if you add react-tools, but you can't.npm install-gjsx also shows n...

2 years ago

1 answers
44 views
0
I want to change the state with React common processing.

There is a switch that switches on and off, and the changeState function is called when switching.The contents of the key passed as an argument are passed in the form {numberState:true}.I want to chan...


1 answers
97 views
0
I don't really understand why virtual DOM is faster.

I heard that using virtual DOM is faster than working with real DOM.I don't really understand why it gets faster.When I hear the explanation that the difference is changed by comparing before and afte...

2 years ago

1 answers
47 views
0
How to call when the function you want to use for the Render of React is a string

There is a problem with Render processing of React.There's a function called func1 that you call when you render.(Example: return(`<func1/>`).For example, I would like to render the following JS...

2 years ago
« - 7 - »

© 2024 OneMinuteCode. All rights reserved.