Questions tagged as 'react'

2
answers

Uncaught (in promise) ReferenceError: dom is not defined, babel

import React from "react"; import ReactDOM from "react-dom"; export class V_admin extends React.Component { constructor() { super(); } render() { return ( <option> Hola mundo! <...
asked by 31.05.2017 / 22:56
0
answers

How to upload a react-table to firebase?

Good, I would like to have some clue how to implement the set method. to take the data from a react-table to firebase. constructor(prosp) { super(prosp); this.state = { ships: [ { article: mesa, description: "Lapt...
asked by 26.05.2017 / 20:57
1
answer

How to add materializecss in react?

I have a project made with asp.net core with the template of react and redux, install the packages from npm of materializecss, which I am already pointing your files of .css but I have the problem that I do not know where to include or ca...
asked by 22.11.2018 / 13:27
0
answers

Share Components between projects

We have a case of multiple projects with the same components and we would like to be able to import them as a library or modules, we have found several ways like npm / bit. Do you have experience in this and any recommendations?     
asked by 05.01.2019 / 00:05
1
answer

Modify JSON file or convert it to JS. React

I have a JSON file which is a "database", since I still do not have knowledge of that type. { "words": [ { "id": 1, "word": "Silla", "principal": "http://pngimg.com/uploads/chair/chair_PNG6860.png", "engword": "Ch...
asked by 25.12.2018 / 18:19
1
answer

How to display a load icon while loading another view in react-native? [closed]

I have my views already finished, but some must load several data before being able to be shown, that's why you notice a delay going from one view to another, I would like that by pressing the button that takes me to the other view, it shows an...
asked by 06.05.2018 / 16:33
1
answer

When compiling the application, it does not detect all the changes that are in development mode. React-Native

What happens is that when compiling the application with react-native , using the commands: react-native run-android --variant=release ./gradlew assembleRelease generating an .APK, that does not work correctly, does not detect some ch...
asked by 04.01.2019 / 16:13
1
answer

Failed to instantiate child component in React.js [closed]

I always did HTML and CSS. I am starting to study React and I honestly do not understand the reason for the error. It is very basic and I wanted to know if someone can explain it to me. Thank you very much !! import React from 'react'; imp...
asked by 06.12.2017 / 21:52