Data dodania Pytanie
2017-10-02 15:10 React Native - Passing Data Across Screens »
I'm having some trouble with a react-native app. I can't figure out how to pass data across screens. I realize that there are other similar questions...
(3) odpowiedzi
2017-10-02 15:10 Object not a function, on jspdf invocation »
I have borrowed the code from here and I am trying to make it work as a proof of concept in my React application.One of the issues I encounter is with...
(1) odpowiedzi
2017-10-02 11:10 Is it possible to use React/Redux/Saga application without back-end »
Previously I used React/Redux/Saga just as "presentation" layer of an application with Ruby/Rails and Nodejs back-end. Currently there are couple of b...
(2) odpowiedzi
2017-10-01 21:10 Webpack - Failed to generate the compiled files, or even the dist folder »
When I run : webpack-dev-server, it compiles code and gives the output in browser. But when I run : webpack - p it did not generate the files in dist ...
(1) odpowiedzi
2017-10-01 20:10 How to update the state of reducer? »
I'm passing the index (id) of the object in posts array in the state to be updated. I'm able to find the index of the element with findIndex and chang...
(1) odpowiedzi
2017-10-01 09:10 Input elements not updating in React »
I am building a very basic React application but having some issues with form inputs: My state: class App extends Component { constructor(){ ...
(2) odpowiedzi
2017-09-30 19:09 How to find cause of Warning: PropTypes has been moved to a separate package »
If I get the warning "Warning: PropTypes has been moved to a separate package." How can I locate which npm package is still using it? The warning does...
(2) odpowiedzi
2017-09-30 19:09 Can we have React 16 Portal functionality React Native? »
I'm using React Native which ships with React 16 alpha release which supports portals. While in browser and having access to DOM we can use id or clas...
(1) odpowiedzi
2017-09-30 17:09 Warning: Failed prop type: The prop `todos[0].title` is marked as required in `TodoList`, but its value is `undefined` »
I want to add title to my server as you see in the picture enter image description here its ok to value but its not working with title, title is in ...
(1) odpowiedzi
2017-09-30 16:09 ReactJS : listenAndPromise return value undefined »
My project file structure App.jsx import './util/config-reflux'; import React, { Component } from 'react'; import createBrowserHistory from 'histor...
(0) odpowiedzi
2017-09-30 10:09 ReactJs : listenAndPromise is not a function »
My project file structure App.jsx import React, { Component } from 'react'; import createBrowserHistory from 'history/lib/createBrowserHistory'; im...
(1) odpowiedzi
2017-09-30 01:09 How do I get webpack to transform the react production files? »
When I bundle my app using webpack with React 16 I get "Uncaught ReferenceError: require is not defined" in the browser for both react and react-dom. ...
(1) odpowiedzi
2017-09-29 21:09 Striptags NPM causes Webpack / Babel / React ES6 compile error »
I am running into a bad compile error running Babel / Webpack on a React / Node app. The Webpack appears to compile, but UglifyJS is throwing eval e...
(1) odpowiedzi
2017-09-29 02:09 Is it necessary to call `unmountComponentAtNode` if the component's container is removed? »
I render a React component SettingsTab within a wrapper called TeamView. Its API looks something like class TeamView { constructor() { this.el ...
(2) odpowiedzi
2017-09-29 00:09 Accessing Redux Store in a Util file »
TLDR: I want to be able to grab the latest Redux State in an external "Util" file. How can I do this? Say I have a playlist.. and in many differen...
(2) odpowiedzi
2017-09-28 23:09 Sorting By Asc and Desc date »
trying to sort my immutable list by desc and or asc by a date give, but its not really working exactly, on sorting for words it works fine but not the...
(1) odpowiedzi
2017-09-28 17:09 How can I open a chrome tab on my laptop from my react-native app (like remote debugging does)? »
I am creating a small debugging app to monitor a particular interaction (WebRTC) between two users of my main app. I have a web app (React) and a mo...
(1) odpowiedzi
2017-09-28 03:09 componentDidMount not running after calling browserHistory.push("/url") »
I have an issue where I will send a user to a react-router route after login, based on the following: ... //check login brows...
(2) odpowiedzi
2017-09-27 22:09 CSS not loaded in production with React and Webpack »
So while everything is fine in development, when I deploy to production, I have a lot of missing css. It seems that it is mostly where css was an imp...
(1) odpowiedzi
2017-09-27 12:09 How can i serve index.ejs using webpack? »
Need to serve index.ejs instead of index.html for dev environment using command webpack-dev-server. Please give suggestions ...
(1) odpowiedzi
2017-09-27 12:09 how to pass props to children with React.cloneElement? »
I'm trying to pass props to my component children but I have this error : Unknown prop 'user' on tag. Remove this prop from the element. When lookin...
(2) odpowiedzi
2017-09-27 08:09 Can't display result of API request with React »
I just started using React and I'm astounded at how incredibly difficult it is to do literally the most basic thing possible. All I want to do is make...
(2) odpowiedzi
2017-09-26 23:09 Failed prop type: The prop `userSignUpRequest` is marked as required in `Login`, but its value is `undefined` »
Im trying to create a React Component using Redux and with functions userSignUpRequest I follow a tutorial but still getting the error: I think is pos...
(2) odpowiedzi
2017-09-26 19:09 React isValidElement comes out as false »
Here is a simple example: const Foo = () => { return ( <div>foo</div> ); } class Bar extends React.Component { render()...
(1) odpowiedzi
2017-09-26 19:09 React - Controlling AJAX calls made to the server »
In my React application I have an array of parameters (some IDs, for example), which should be used as a parameters for an ajax call queue. The proble...
(3) odpowiedzi
2017-09-26 17:09 React making AJAX request in render without onClick trigger »
I have started yesterday to teach myself some React. I have a login form that is supposed to send a AJAX request to my backend when a button is clicke...
(2) odpowiedzi
2017-09-26 10:09 React unique key when mapping warning »
I'm quite new to react and I'm facing a problem I can't solve. Here is my react component: import React from 'react'; import Header from './Header'; ...
(3) odpowiedzi
2017-09-25 15:09 Handling external function imports »
This might be a rather general question on how to handle imports of external functions and exporting functions. So I have a component like this: i...
(2) odpowiedzi
2017-09-25 13:09 React Native: How to select previous Text Input »
I have defined code as to focus on next TextInput field <View> <TextInput ref="1" maxLength = {1} keyboardT...
(1) odpowiedzi
2017-09-25 11:09 Transfer component in props with children method »
Its possible to transfer component in props with children method? I have to components: let a = (<div> <button onClick={TContaine...
(1) odpowiedzi
2017-09-24 20:09 How to use ReactDOM.createPortal() in React 16? »
I'm using React 16 and need portals, but am not able to find any documentation on this feature. Does anyone know how to use this yet? https://github....
(2) odpowiedzi
2017-09-24 14:09 How to override ionic-scripts in order to include react on build? »
I am trying to include in an Ionic2-Angular4 project some react components but without success. For the building process I am using ionic scripts "b...
(1) odpowiedzi
2017-09-24 10:09 React bind method »
In React.js you better define your method binding in the constructor like this: constructor(props){ this.poo = this.poo.bind(this); } it's better...
(1) odpowiedzi
2017-09-24 04:09 React Router V4 protected private route with Redux-persist and React-snapshot »
I'm implementing private route like so using React Router Route Component: function PrivateRoute({component: Component, authed, emailVerified, ...res...
(0) odpowiedzi
2017-09-23 22:09 React Router components getting unmount on route change »
I creating a SPA with React + Redux, where I am using react-route. I am facing one issue that whenever I am switching my routes like /about, /contact,...
(1) odpowiedzi