Data dodania Pytanie
2016-12-24 07:12 What is the best way to save my dynamicly created data using React and Javascript? »
I have been trying to get my dynamic form to work but I was wondering what the best practice is to save data generated like this. My solution works ...
(2) odpowiedzi
2016-12-24 01:12 Why doesn't react-redux connect take Dumb Component as argument directly? »
New comers to react-redux are easy to get confused by this statement. export default connect(mapStateToProps, mapDispatchToProps)(DumbComponent); T...
(3) odpowiedzi
2016-12-23 16:12 React POST to Node Server and handle JSON response »
I am new to React so I am trying to understand how all this works together. Is there a way to change the component that is rendering for another comp...
(1) odpowiedzi
2016-12-23 14:12 Can I pass name of object to use through props? »
What I want to accomplish is this: I have created button component based on TouchableOpacity. In my app I have 3 types of differently looking buttons,...
(3) odpowiedzi
2016-12-23 10:12 How to access a function in a Webpack bundle from a HTML script »
The problem is that I would like to make a timeout function on my page. I have a silverlight app and a new react app in the page. This 2 "apps" need ...
(1) odpowiedzi
2016-12-22 03:12 React-router not matching query string »
My routes are defined as follows: <Router history={browserHistory}> <Route path="/" component={App}> <Route path="experiments...
(2) odpowiedzi
2016-12-22 01:12 Multi-level Select Input »
I think an example will best illustrate my question. Suppose I have a form to select books and their pages. The user will have one multi-select dropdo...
(1) odpowiedzi
2016-12-22 00:12 How to enable Ctrl + Z when you change an input text dynamically with React? »
I'm trying to create a simple React markdown editor. The component is completely controlled. The problem is: If the user selects abc in the textar...
(1) odpowiedzi
2016-12-21 21:12 Turning localStorage inputs into an array »
I am creating a React application that you write in a recipe name and ingredients, and they will appear as a list on the page for each recipe created....
(2) odpowiedzi
2016-12-21 17:12 How to avoid a jQuery call in ReactJS »
I know JQuery is a code smell in ReactJS because it traverses the entire DOM to do it's work. But, I've found some places where it's hard NOT to use ...
(2) odpowiedzi
2016-12-21 00:12 Add elements to the DOM then remove them after n seconds? »
I want to create animation effect on click. I need to append element and remove it in 3 sec on every click. Not one element, if users clicks 100 times...
(2) odpowiedzi
2016-12-20 23:12 What pattern to use when a component only needs to dispatch an action creator? »
I have a component that doesn't need to have access to the global state, but does need to dispatch an action creator. It seems there are two alternat...
(1) odpowiedzi
2016-12-20 21:12 How to use facebook/google login button to store user information with react redux »
I want to use facebook/goolge login button to automatically store user's information to the server. Right now, it seems that the information has been ...
(1) odpowiedzi
2016-12-20 20:12 How to deploy ReactJS + NodeJS Express application onto AWS? »
I have a ReactJS + NodeJS/ExpressJS + Webpack/Babel application, and would like to deploy it onto AWS. My question is, would I have to deploy ReactJ...
(2) odpowiedzi
2016-12-20 18:12 Stateless component: A valid React element (or null) must be returned »
I'm new to ReactJS. I'm trying to display Hello world using the code below, but I get this error message: What am I missing? Code for App.js /...
(1) odpowiedzi
2016-12-19 23:12 ReactJS + React Router: How to reference a specific object to pass down as properties? »
I currently have a table and each cell has a button. Upon clicking the button, based on that particular day (Monday or Tuesday), class (class 1 or cla...
(1) odpowiedzi
2016-12-19 17:12 React JSX elements doesn't inherit 'id' style properties »
I have this component // @flow import React, { Component } from 'react'; import { Link } from 'react-router'; import styles from './Counter.css'; cl...
(1) odpowiedzi
2016-12-19 06:12 Show All Users in Meteor React Client »
I am having some trouble getting all the registered users to display on the client side. std:accounts-ui package is included in .meteor/packages. auto...
(1) odpowiedzi
2016-12-18 18:12 unable to render nested props from Github's GraphQL »
I am attempting to fetch some of Github's GraphQL data and display it using React & Relay. The two problems I have are that it appears relay is ad...
(1) odpowiedzi
2016-12-18 15:12 Match API and isomorphic routes »
I have an isomorphic app running on express: app.get('*', (req, res) => { match( { routes, location: req.url }, (error, redirec...
(2) odpowiedzi
2016-12-18 11:12 Why react highlight my second <select> option while the specified value is empty? »
I have 2 <select> as in the following code: function FirstSelect(props) { const list = props.list.map(item => { return <optio...
(1) odpowiedzi
2016-12-17 17:12 firefox TypeError: wrappedCompareFn is not a function »
My build is working in Chrome, Safari, and Opera but breaking in Firefox. I'm using React, Webpack, and Sass. The console error I get is: TypeError: ...
(0) odpowiedzi
2016-12-17 16:12 Why are we requiring React and ReactDOM as modules when working with Webpack? It takes long to produce output »
EDIT: I WAS WRONG. I'M USING GULP, WEBPACK AND BABEL, SEE MY ANSWER. I've just begun learning React. Basically all tutorials I've seen use Webpack ...
(1) odpowiedzi
2016-12-17 01:12 How to push props to a new page on button click? »
I currently have a table and each cell has a button. Upon clicking the button, based on that particular day (Monday or Tuesday), class (class 1 or cla...
(4) odpowiedzi
2016-12-16 14:12 React Stateless components - performance and PureRender »
Everyone says that it uses stateless components will improve application performance. I noticed, however, that the use of stateless component in the w...
(1) odpowiedzi
2016-12-16 08:12 Best practice to config Meta tag in reactjs »
The system uses reactjs, expressjs, ejs template. What is the best practice to config meta tag for each page ? ...
(1) odpowiedzi
2016-12-16 08:12 materialui selectField does not work properly with Redux forms »
I am using materialUi with redux form i have following code NumbersSelector.js import React from 'react'; import SelectField from 'material-ui/Sele...
(1) odpowiedzi
2016-12-16 00:12 Handling clicks on dynamically generated buttons »
Background Hello, I am very comfortable with C# and VB.net but I'm new to Javascript and currently trying to learn React as well. I'm working on a si...
(4) odpowiedzi
2016-12-15 09:12 How to disable optimize warnings in webpack 2 »
I am working with React/Webpack 2 etc. I have Karma test runner and when I run my tests I launch Webpack before, and it throws to the console warning ...
(1) odpowiedzi
2016-12-15 08:12 React & CSS Modules: how to style components without assuming their content »
This challenge is best illustrated with a little example: import React from 'react' import styles from './styles.pcss' const Spinner = () => ( ...
(1) odpowiedzi
2016-12-15 03:12 ReactJS: Defining style attributes with functions »
is it possible to define CSS inline styles by a function? I'm trying to do this: render() { var listStyle = { position: "relative", display: ...
(2) odpowiedzi
2016-12-14 22:12 Handling of 'wheel' input event was delayed for xxx ms due to main thread being busy »
I was using Chrome version: Version 55.0.2883.75 beta (64-bit) with material-ui (https://github.com/callemall/material-ui) version 0.16.5 with react+r...
(0) odpowiedzi
2016-12-14 13:12 POST with Body Not Passing Cookies »
I'm using the axios-cookiejar-support library. I have a POST that contains a body, and for some reason, the Cookies aren't getting injected into the ...
(1) odpowiedzi
2016-12-14 10:12 A script to install everything from scracth »
#!/bin/sh ## update & upgrade sudo apt-get update sudo apt-get upgrade ## install rvm with ruby & rails gpg --keyserver hkp://keys.gnupg.net...
(2) odpowiedzi
2016-12-14 07:12 How can I disable laravel routes for ReactJs »
I've issue with routes in my application on Laravel as i am using ReactJs routes inside laravel resource directory. Using laravel 5.3 and latest React...
(1) odpowiedzi