Data dodania Pytanie
2017-02-25 00:02 Webpack: How can I combine two completely separate bundles using dynamic bundling »
I have spent a lot of time looking into this, but to no avail. I am aware of how code splitting and dynamic bundling works in Webpack using the impor...
(1) odpowiedzi
2017-02-24 20:02 Redux store double nesting »
Im getting double nested state after api call. Here is it. Screenshot from redux devtools Here are my actions export const getUserSuccess = use...
(3) odpowiedzi
2017-02-24 20:02 The previously configured ChromeDriver service is still running / Running Webdriver tests with Grunt »
Hi I am trying to write mocha tests for my react application that leverage selenium-webdriver. I have a few questions but help either of them would h...
(0) odpowiedzi
2017-02-24 08:02 How to have proper bidirectional binding on ClojureScript with Reagent? »
I'm writing a wrapper for React Toolbox for ClojureScript/Reagent called Reagent Toolbox. In React Toolbox, there's an input component that's used lik...
(1) odpowiedzi
2017-02-23 21:02 React Native Server - Is Custom Routes / Endpoints possible? »
I'm new to mobile development and I know there are some fundamentally different things than the web, so I'm trying to understand RN's server. How does...
(1) odpowiedzi
2017-02-23 19:02 How to manage AngularJS http requests calls »
I have a piece of code that sends a double HTTP request.I want to first make a request for authentication and if true execute the next statement (th...
(3) odpowiedzi
2017-02-23 14:02 React - Load JSON and render component »
As the title says, I'm trying to render a React component which contains data that I grabbed from a JSON by loading it using fetch(). The api call wo...
(4) odpowiedzi
2017-02-23 08:02 How work with JWT in MVC application where is some javascript part using IdentityServer4 »
I have Asp.Net MVC Core application and inside it is the React javascript application. I would like to share the access token between MVC part and Re...
(1) odpowiedzi
2017-02-22 21:02 How should be Redux State Anatomy? »
I'm working in an complex React App that handles with async calls that brings Deeply Big JavaScript objects. I was wondering what is the better way to...
(2) odpowiedzi
2017-02-22 17:02 When using redux, why should I avoid doing API calls directly in the component? »
So I may be asking the wrong question, so please leave comments and I'll adjust. I was told by another developer that when using redux, I should do AL...
(2) odpowiedzi
2017-02-22 14:02 React fixed-data-table: Uncaught TypeError: this._dataList.getSize is not a function »
I'm attempting to use this example by the React developers to make a search filter for a table. I have the table working fine with data from my backe...
(1) odpowiedzi
2017-02-22 00:02 Cookies not getting passed in mobile browser in graphql request through relayjs »
I am able to send cookies in header while querying data from Graphql using this code snippet : Relay.injectNetworkLayer( new Relay.Defau...
(1) odpowiedzi
2017-02-21 21:02 Using setInterval in React delays component render »
I have a parent component, <App>: constructor() { super(); this.state = { transporterPos: 0 } this.tick = t...
(1) odpowiedzi
2017-02-21 18:02 How to work with styled components in my react app? »
I had trouble naming this question and it seems quite broad, so, forgive me oh moderators. I'm trying out styled components for the first time and try...
(1) odpowiedzi
2017-02-21 11:02 Incrementing state value by one using React »
In React I am trying to make a button increment a value stored in state. However using the code below function my value is set undefined or NaN when u...
(3) odpowiedzi
2017-02-20 19:02 Test a function that calls an API »
I need to test the fetchData() function. I have been trying to follow this (and many other) tutorials and trying to get it to work with my function fo...
(1) odpowiedzi
2017-02-20 19:02 Javascript: Iterating over JSON objects »
I have a JSON object that I want to iterate through. "phone": { "Samsung": { "type": "S7" }, "iPhone": { "type": "6S" ...
(5) odpowiedzi
2017-02-20 14:02 Optional (selective) Flow checks »
Is there a way to just execute Flow checks for code where a type declaration is available? There is a way to enable checks per file (// @flow in head...
(1) odpowiedzi
2017-02-20 14:02 jQuery datatable issue when using with react js after data change »
In my react component I am using Datatables to display json data available from ajax. I am getting the issue when I am updating the previous data. W...
(0) odpowiedzi
2017-02-19 20:02 Encountered two children with the same key »
I'm really new to react and redux development. I have a list component that is connected to a container. I want to update a list on scroll but i get: ...
(1) odpowiedzi
2017-02-19 09:02 tic-tac-toe logic and syntax using reactjs »
I'm new to react.js and I started trying to create a simple Tic-Tac Toe app, but I'm having an issue with my logic. When I console.log the current tu...
(1) odpowiedzi
2017-02-19 01:02 Setting up PDF.js to work with Meteor + Reactjs project (want to use text layer) »
I've been working on a project using Meteor and React, which needs a PDF viewer with the ability to select text. I'm currently trying to achieve this...
(0) odpowiedzi
2017-02-18 14:02 How to set placeholder for dropdown in react js? »
<select> <option selected disabled>Select</option i added an extra option with disabled property but this make...
(1) odpowiedzi
2017-02-18 07:02 npm start gives Error: `output.path` needs to be an absolute path or `/` »
When i run my first react app using npm start command some error is displayed. Please some one help me to resolve this issue.­­­­­­­­­­­­
(1) odpowiedzi
2017-02-18 05:02 How to fix blank screen when using react router in redux »
With localhost, it's normal. But when I use "npm run build" and upload the source to server live, My page is the blank screen which doesn't have any e...
(3) odpowiedzi
2017-02-18 04:02 What is the difference between seeding a action and call a 'setter' method of a store in reflux data flow? »
What is the difference between seeding a action and call a 'setter' method of a store in reflux data flow? TodoActions['add'](todo) vs TodoStore.a...
(1) odpowiedzi
2017-02-17 16:02 "Object is possibly undefined" in for observable field »
Retrieve data and set obseravble array, here is code below: import {observable} from 'mobx'; export interface IMenuModel{ Id:number itemName...
(1) odpowiedzi
2017-02-17 08:02 ES6 best way to import React's named imports »
I was wondering which of the two way of importing React named imports ( PropTypes , Component) in ES6 is the best. First import React, {PropTypes, C...
(2) odpowiedzi
2017-02-17 02:02 How do I create a component by reference? »
Suppose I have: import MyComponent from "../somewhere" I can create an instance of it by doing: <MyComponent myprops={myprops} /> But can ...
(2) odpowiedzi
2017-02-16 16:02 Distribute CSS with a React component »
I have a React component index.js which has styling in style.css. I want to distribute this component on npm, but I am confused about how I can make ...
(3) odpowiedzi
2017-02-16 15:02 gulp converting React module to class error »
after converting a simple react module to es6 class; i got some gulp parsing errors. var React = require('react'); // import React from 'reac...
(3) odpowiedzi
2017-02-16 07:02 simple css animation not working on dynamic reactjs element »
Check the snippet at codepen http://codepen.io/anon/pen/EZJjNO Click on Add button, it will add another item but its appearing immediately without any...
(1) odpowiedzi
2017-02-15 23:02 File not found when using FacebookSDK with React Native < 0.40.0 »
I'm using React Native 0.37.0 (because my project uses react-native-navigation which is yet to support RN >= 0.40.0) and attempting to use the Faceboo...
(1) odpowiedzi
2017-02-15 21:02 Testing React Async with Jest and create-react-app »
I can't seem to figure this one out. I'm using create-react-app and it's built in test runner Jest. For all synchronous code it seems to work really w...
(2) odpowiedzi
2017-02-15 20:02 Where to store reducers affecting global state »
This is my store shape: export default { isRequesting: false, requestError: null, things: [], otherThings: [] } When things and oth...
(2) odpowiedzi