Data dodania Pytanie
2017-04-21 14:04 React-bootstrap tabs: Warning: In the context of a `<TabContainer>`, `<NavItem>`s are given generated `id` and `aria-controls` attributes »
I'm getting this warning whenever the navbar is loaded for me. I have no idea what to do with it or what it means - i've tried adding a parent div wit...
(1) odpowiedzi
2017-04-21 05:04 React iframe youtube : Object.defineProperty called on non-object »
I made a component to embed a youtube video in my React app and it works great. To do that i'm using an iframe. <div className="embed-responsive...
(1) odpowiedzi
2017-04-21 03:04 In React, is it a good practice to pass all the props from parent to child component? »
Say I have a parent component and one child component. The props has ten keys, but child needs only three. What is the better way to pass props to c...
(2) odpowiedzi
2017-04-20 22:04 Struggling with 'what goes where' in react/redux/saga/selector setup »
Newly using ARc (Atomic React) for a project (which is great and I think has a ton of future-proofing for what is ultimately going to be an enterprise...
(1) odpowiedzi
2017-04-20 18:04 spring security + oauth2 + reactjs + restful http client »
I am doing spring boot 1.5+ security with auth2 authentication and reactjs. for http calls using restful http client. Authentication is working perfec...
(1) odpowiedzi
2017-04-20 13:04 React native send a message to specific whatsapp Number »
I'm trying to send a text message to a WhatsApp contact from a react-native apps , i found that i can do it through Linking Linking.openURL('whatsap...
(1) odpowiedzi
2017-04-19 21:04 Integrating Vapor and React »
I'm building a classic database backed, dynamic website, that will allow users to share leads. I'm a little old school, and want to implement my sys...
(0) odpowiedzi
2017-04-19 17:04 ReactJs - How to get updated state while inside a thunk promise »
I am working on an application where prior to sending the data to the server we check if the fields are empty and fill them with dummy data. State be...
(1) odpowiedzi
2017-04-19 05:04 How to check if object is in Mobx observable array? »
I'm using indexOf in a React component to style a button based on whether an object is in an mobx observable array. The button is for favoriting. It ...
(2) odpowiedzi
2017-04-18 21:04 spring boot + security + oauth2 + react + csrf token »
I am working on spring boot 1.5.2 security with oauth2 and I am using reactjs also. I have separate authentication server for user authentication and ...
(0) odpowiedzi
2017-04-18 20:04 ReactJS with Fetch on older browsers »
I am implementing React JS, with Webpack and Babel. However, I am having trouble getting Fetch to work with IE 11. I have the following in my .babel...
(2) odpowiedzi
2017-04-18 16:04 Razor rendering in jsx »
I'm trying to have a Navbar fixed in my MVC web app. Is there a way I can have something like this in my _Layout.cshtml ? Just looking to take advanta...
(0) odpowiedzi
2017-04-18 13:04 Declare a functional component as "pure" »
How to signal to React that a functional component is "pure", as an equivalent of React.PureComponent for component classes? function C(props) { r...
(1) odpowiedzi
2017-04-18 09:04 How to update state of a component with value from reducer state in react-redux? »
I have reducer that gives me carReducer, which I can use as props in EditCar Component: My carReducer is: export default function carReducer(state =...
(2) odpowiedzi
2017-04-17 22:04 Use React-Router browserHistory, Wepback 2 historyApiFallback and Node »
I'm trying to run my React app locally using React, Node, Wepback 2. Whenever I hit a route that isn't / I get a 404. My goal is to be able to run my ...
(1) odpowiedzi
2017-04-17 19:04 Migrating react-router v3 to v4 »
I'm currently trying to migrate react-router from v3 to v4, but I can't quite grasp the new concepts, my old react-router v3 code looks like this, can...
(1) odpowiedzi
2017-04-17 05:04 React/Redux: Can't access store variable as props from another component after action dispatched? »
I'm fairly new to redux, so I might be doing something silly here. I have a LoginComponent that should set a variable called loggedIn in the global ...
(2) odpowiedzi
2017-04-16 15:04 React-highcharts scrollbar feature not working »
I am using react-highchart . The scrollbar feature does not seem to work . Below is the piece of code . The scrollbar is enable in the xaxis and it do...
(0) odpowiedzi
2017-04-16 12:04 React Component onClick do Something depending on prop Type »
I have created a react button component...code below: import React from 'react'; const style = { button: { backgroundColor: '#000000', col...
(1) odpowiedzi
2017-04-16 10:04 keeping data in 'this' VS 'state' »
I wonder is it okay to keep some UI state as instance variables(this) rather than in react state object. For example making controlled inputs sometime...
(0) odpowiedzi
2017-04-15 20:04 React radio button not update selection »
Trying React radio but the strange thing is that the radio selection will not update its view. Can anyone take a look at the code below and let me kno...
(1) odpowiedzi
2017-04-15 18:04 Do I need to use setState(function) overload in this case? »
Imagine such situation: clickHandler(event) { var that = this; var cellIndex = event.target.id; if(that.inProcess) return; /* Temporarily c...
(1) odpowiedzi
2017-04-15 16:04 What's the right way to implement sortable table with React? »
My current implementation: export const SORT_ORDER = { ASC: "ascending", DESC: "descending", OTHER: "other" }; export default class Tabl...
(0) odpowiedzi
2017-04-14 21:04 Am I modifying my Redux state here? »
I am not sure whether this is modifying my redux state: var tempArray = this.props.currentView.someArray; tempArray.push(this.state.inputField); ...
(1) odpowiedzi
2017-04-14 04:04 React router get current location on main router component »
I'd like to know how to get the current location from the component I've used to define my routes. For example, I have a component called Routes, whic...
(1) odpowiedzi
2017-04-14 01:04 npm WARN react-native-maps@0.14.0 requires a peer of react@>=15.4.0 but none was installed »
Problem I'm trying to install react-native-maps by Airbnb in my project. Installation instructions: airbnb/react-native-maps/installation When I ru...
(2) odpowiedzi
2017-04-13 20:04 travis cannot build because Error: Cannot find module 'react-test-renderer/shallow' »
The npm run test works fine locally. However , travis insists that the build is failed and it shows the following log : react-test-renderer is an ...
(2) odpowiedzi
2017-04-13 17:04 Microservices UI Frontend with ReactJS »
My current design is to have clients connect to my Web API Gateway using a browser, the Web API Gateway will call each microservice to get their (Reac...
(1) odpowiedzi
2017-04-13 15:04 Update flat list item onPress »
How to update item text in flatlist item onpress? renderEntries({ item, index }) { return( <TouchableHighlight onPress={()=> this....
(0) odpowiedzi
2017-04-12 20:04 Using Object.assign in React/Redux is a Good Practice? »
I have some confusion about using Object.assign for React and Redux. I read this article: http://redux.js.org/docs/basics/Reducers.html It says ES6 ...
(2) odpowiedzi
2017-04-12 19:04 How could I use Cordova with Meteor & React? »
I'm with a difficult to use a Cordova plugin with Meteor and React, from the docs I saw that: You should wrap any functionality which relies on a ...
(1) odpowiedzi
2017-04-12 00:04 React prop-types error »
I'm trying to create web app in codepen. I'm using React, ReactDOM. All was fine. But when I added react-router-dom to my project, I got an error: re...
(2) odpowiedzi
2017-04-11 18:04 Identity Server 4 Social Login for SPA »
I'm working on application using a Web API(asp.net core) and a SPA (react-boilerplate). I'm starting work in user registration/login and one of the re...
(1) odpowiedzi
2017-04-11 15:04 React Navigation: How to update navigation title for parent, when value comes from redux and gets updated in child? »
I'm using react-navigation and have a StackNavigator with a ParentScreen and a ChildScreen. Both screens have the same navigation bar with a dynamic...
(0) odpowiedzi
2017-04-11 15:04 filter by multiple array by matching object properties »
It's easy to get rid of unmatched object property by single value, like const person = [ {name:'james',gender:'male'}, {name:'john',gender...
(3) odpowiedzi