Data dodania Pytanie
2017-03-31 09:03 How to get the marquee effect with list view in react native? »
I am trying to get the marquee effect in react native list view.I am trying to implement in this way. <ListView horizontal={true} ref={ref...
(1) odpowiedzi
2017-03-31 00:03 Configuration for create-react-app after ejecting to build a component library »
I started to build a component library that I want to publish on NPM (and reuse in other apps) by creating a React app using create-react-app. Unfortu...
(3) odpowiedzi
2017-03-30 15:03 format DD/MM/YYYY input react as user types »
I have an input box in a React component. This is to take a date of birth. I want to add / after each relevant section. i.e. 30/03/2017 Something si...
(3) odpowiedzi
2017-03-30 11:03 What is the ~ (tilde) doing in this javascript import? »
In the App.tsx taken from the fountain-webapp typescript MVC sample (http://fountainjs.io/), the import contains the following line: import {IDispatc...
(2) odpowiedzi
2017-03-30 11:03 How to quickly deploy React / Redux app as a sample? »
It seems one way is to deploy the React app to Heroku, but is there a simple way to deploy to our own website or to GitHub page feature so that you ca...
(2) odpowiedzi
2017-03-30 02:03 403 error code when using axios.post to Django endpoint in React app »
I am getting a 403 when I try to make a simple post request to a django view from within my react app. Here is my code: views.py @csrf_protect def t...
(0) odpowiedzi
2017-03-29 17:03 How to stop Propagation on Double Click event »
Consider this component: <Card onClick={openWindowHandler}> <Editable onDoubleClick={enableInputHandler} /> </Card> What I want...
(1) odpowiedzi
2017-03-29 12:03 Using bind(this) in React »
Can I use any of these options? Do they all work the same way? I'm using ES6. onChange={this.makeChange.bind(this)} onChange={() => this.makeChan...
(1) odpowiedzi
2017-03-29 09:03 Why react server side rendering strips event handlers? »
I have a React Server Side rendered component with img tag. I want to attach an onload event listener on the image tag and made the component like bel...
(1) odpowiedzi
2017-03-28 23:03 create five bullet points programmatically in react? Users can add tasks, but I want to start with initial variable number of bullets »
I want to avoid hardcoding <li> X times, and instead want to programmatically render them. Here is what I have right now: <ul> <li&...
(2) odpowiedzi
2017-03-28 09:03 Debugging React component lifecycle stacktrace »
Is there a friendly way to debug what causes a component render method executed? Here is the stack trace with a breakpoint in render method of a deep...
(0) odpowiedzi
2017-03-28 00:03 React: Can't render items in loop »
I have the following code, both Test start and Test end show. Also, the debugger loops correctly through the areas and index. For some reason, it does...
(1) odpowiedzi
2017-03-27 23:03 Error while using IgniteUI grid components in React »
I am new to React and I am using the starter project from https://github.com/facebookincubator/create-react-app. I am trying to use IgniteUI grid from...
(0) odpowiedzi
2017-03-27 18:03 Use a variable as an object key in reducer »
I'm having trouble constructing an object. I've got a string (called "SKU" for this example) and it's coming through action as action.name. I have ev...
(2) odpowiedzi
2017-03-27 01:03 Accessing internal API with React, Axios on Heroku »
I am building a full stack React application that accesses its own back end API with Axios. In my local environment, the following works as expected, ...
(1) odpowiedzi
2017-03-26 22:03 Shouldn't React-native render only changed components similar to how React works? »
I am new to the React scene but I am fairly familiar with its structure and at the very least how to make simple webapps using it but this got me scra...
(1) odpowiedzi
2017-03-26 09:03 react setState doesn't change state even when I am using react update add on »
After reading about React, I decided to test some simple ideas in a sample project.But I surprised why setState doesn't work as expected. setState doe...
(2) odpowiedzi
2017-03-26 06:03 React stateless component with controlled form Elements? »
I have a dumb/stateless component which is used to only render a form , just a typical form . import React from 'react' export const AuthorForm =...
(1) odpowiedzi
2017-03-25 21:03 implement react-router within typescript app »
I have a working copy of the same code only differs come from typescript. And this the code below somehow and exception message.. import * as React f...
(1) odpowiedzi
2017-03-25 17:03 "this" is undefined inside my Class »
There is a problem with my small todo app. Every time I try to delete an item there is an error Cannot read property 'todos' of undefined Why this is...
(1) odpowiedzi
2017-03-25 02:03 Trouble getting React working with webpack-dev-server »
I am trying to get started and learn react with webpack and eventually redux thrown in there (hard to find guides to learn the three together...) Anyw...
(1) odpowiedzi
2017-03-24 21:03 ReactJS map onClick get value »
Im new to React, and im creating an app that will fetch the values with an onClick event, I figured that I'd do something liket this: import React, {...
(2) odpowiedzi
2017-03-24 17:03 Diagnosing RangeError: Maximum call stack size exceeded in React KeyEscapeUtils »
Background Our webapp is written with React and Redux using the official react-redux bindings. Another primary library used in this web app is PaperJ...
(1) odpowiedzi
2017-03-24 11:03 Simple React example with state not working »
I wrote a simple example in React with a state. I have a button and when I click on this button I want to show a message but I don't see anything in t...
(1) odpowiedzi
2017-03-24 08:03 init state without constructor in react »
import React, { Component } from 'react'; class Counter extends Component { state = { value: 0 }; increment = () => { this.setState(prevS...
(2) odpowiedzi
2017-03-23 18:03 React: what determines that a Stateless React component is actually a React component? »
In ES6 syntax, it's easy to follow that a component that extends Component from React is a React component. For example: import { Component } from 'r...
(2) odpowiedzi
2017-03-23 13:03 ReactJs development on docker container »
How can i use docker container to develop Reactjs with docker on windows ? So far I've been able to run my app, but livereload does not work. App/st...
(1) odpowiedzi
2017-03-23 01:03 React performance: bind vs anonymous function »
I would like to know if there is a performance difference between using bind and an anonymous function in React components. Concretely, is one of the...
(2) odpowiedzi
2017-03-22 20:03 How to correctly bind function with arguments in component? »
I've been using React for a few months now, and one of the things I'm finding most difficult is how to properly bind functions that take arguments. C...
(4) odpowiedzi
2017-03-22 14:03 React get specific element in JSX »
So I have a jsx like this <img onClick={(event) => this.handleImgClick(event)} id="typeLightBox" className={`${this.state.popupType === '...
(1) odpowiedzi
2017-03-22 08:03 Conditionally change order of rendering React component »
I have three component <Header /> <Body /> <Footer />. I want to change the order of display according to condition as below. <d...
(3) odpowiedzi
2017-03-21 17:03 React Router with a custom root and a base component »
I have an integrated React app (it's integrated into an existing Flask app) and the entry to the React app is not on the site's root. The first URL th...
(2) odpowiedzi
2017-03-21 15:03 react router v4 default page(not found page) »
This is common purpose, directing unmatch request to notfound page. making this with react-router v4 looks like previous versions and I expect this ...
(1) odpowiedzi
2017-03-21 06:03 Apply changes only to the clicked item among several items with same method name »
I have several divs that show various details. i have intended to take the details from the backend and bind them to my html part. To the time being i...
(2) odpowiedzi
2017-03-20 21:03 How to get value attribute for corresponding button? »
buttonPress = (event) => { console.log(event.props.value)} <RaisedButton ref={(button) => { this.RaisedButton = button; }} label="Primary"...
(1) odpowiedzi