Questions tagged as 'react'

1
answer

Send Array of objects to Bulkcreate

I am using Node JS (backend) with sequelize 4.4.2 and need to send an array of objects from my front (React JS) but I can not generate in the format that is expected, just to comment when I did a test (hardcode) it worked fine inserted the data....
asked by 03.01.2018 / 14:01
0
answers

Problem to save image in Node and React

I'm trying to upload images to my server using node and React, however, when I try to upload, it generates this message to me:    Not allowed to load local resource:   file: /// C: / fakepat: 3000 / record / 1h / pastedImage.png I can not...
asked by 03.01.2018 / 21:11
1
answer

Webpack ReactJS

I'm experiencing problems with my webpack, I get the following error in the terminal: You may need an appropriate loader to handle this file type webpack.config.js: var path = require('path'); var webpack = require('webpack'); var DIS...
asked by 26.11.2017 / 17:14
1
answer

webpack localhost / sockjs.js.map not found

I have the following error regarding socks.js.map, can anyone help me?    Failed to load resource: the server responded with a status of 404   (Not Found) I installed the latest version of the webpack and webpack-dev-server and configured...
asked by 15.11.2017 / 19:37
1
answer

How to set a value for a span with React

I was trying to do that when the user pressed the submit button, he would check what the user entered, and if it was not valid he would send an error message through the span.Obs: I cut the code for easier reading, but the problem is in this par...
asked by 25.10.2017 / 18:30
1
answer

RN Navigation - Draw Navigator

My app will have several types of navigation on different screens. I started using the index with stacknavigator and on a second page I'm trying to set up DrawNavigator and I'm not getting it. I saw in a sample post as if I had to start and r...
asked by 30.08.2017 / 02:17
1
answer

Command 'run-android' unrecognized - After installing the navigation

After creating a react-native project init test and install navigation ( npm install --save react-navigation ) simply after that the run-android command is no longer recognized. I found several forms of correction in some place but for me...
asked by 09.08.2017 / 02:49
1
answer

Splash screen React-native

I created a component class with my splash screen. And I want that after a few seconds, the navigation goes to the other screen, I already have configured the navigation const SimpleApp = StackNavigator({ Home: {screen: BrunoDantas},...
asked by 28.07.2017 / 03:12
0
answers

Enable POST wordpress / woocommerce method

I'm trying to send a POST to woocommerce / wordpress using the woocommerce-api API, but only I get the error 401 that says:    Fetch API can not load link ... Response for preflight has invalid HTTP status code 401       Ty...
asked by 29.07.2017 / 21:22
1
answer

React Native Drag and Drop Listview

I need to implement bizarre functionality in React Native. Here's what I need to be able to drag and drop to remove an item from a horizontal ListView and add it to another. The big question is that it can only start drag and drop if the user ha...
asked by 29.07.2017 / 20:26