Data dodania Pytanie
2017-06-08 22:06 How do I make my React state update immediately? »
The function I've made which purpose is to update state does not work perfectly. I make a deep copy of my current state which I modify, then I set t...
(2) odpowiedzi
2017-06-08 14:06 Apollo (GraphQL) fetch more than one element in a query »
Can I fetch more than one element in a GraphQL query? I have many products list data and I want to fetch, for example, three products in my component....
(2) odpowiedzi
2017-06-08 11:06 How to get the exact error message of JsDoc in reactjs? »
We are using JsDoc to create our document of reactjs pages. All comment we wrote as per the jsDoc rule but still it showing below message for so...
(1) odpowiedzi
2017-06-07 18:06 De-duplicating redux action logic with high order reducers »
I'm refactoring a React/Redux app that has been built to a point where there is a need to de-duplicate a lot of reducer logic. I've looked into High O...
(2) odpowiedzi
2017-06-07 08:06 Why use spread operator in Redux store? »
In this tutorial, why is there a spread operator before createStore? const configureStore = () => { const sagaMiddleware = createSagaMiddleware(...
(1) odpowiedzi
2017-06-07 08:06 Why do you need to import React multiple times in parent and child components? »
If you have a parent component file that already imports React, why does any of its rendered children files also need to import React? Is it just a sa...
(1) odpowiedzi
2017-06-06 17:06 React Router changing params doesn't fire componentWillRecieveProps »
The Problem: Changing the parameters of a <Route /> component does not update the component it is rendering. The route change is shown in the UR...
(1) odpowiedzi
2017-06-06 17:06 Using own React npm component - appropriate loader issues »
I have made a component in my React app that I would like to publish to NPM. It's consists of just one file index.js import React from 'react' import...
(1) odpowiedzi
2017-06-06 15:06 User profile in isomorphic applications »
I'm currently in the process of adding login, plus a set of advanced features related to login, to a website using React, Redux, Express and Node. For...
(1) odpowiedzi
2017-06-05 18:06 Content in between Header/Footer »
I'm building a site where each page has a <TopNav>, <Footer> and a <Subfooter>. As I understand it, the entry point of the app, sh...
(1) odpowiedzi
2017-06-05 15:06 Elements doesn't survive state change for css transitions in React »
I have a highscore list that updates automatically with current scores once every minute. It then updates the component with this.setState({ data: ne...
(2) odpowiedzi
2017-06-05 07:06 Which are best option(s) to append many props to child component? »
Using react 15.5.4 I have a component already configured to cross props in its child. export default class Component extends React.Component { re...
(1) odpowiedzi
2017-06-04 20:06 Change focus of text input with react »
My goal here is to create a form, which tabs you to the next input element when you hit the return key and submits the form when you are on the last i...
(1) odpowiedzi
2017-06-04 19:06 How to deploy react laravel project? »
I use laravel framework as Restful API server, and react as SPA client render and for routing i have used react create app kit, I build react project....
(1) odpowiedzi
2017-06-04 19:06 isomorphic/universally-rendered React 15 app breaks with Cloudflare HTTP Proxy ("orange cloud") »
I have an isomorphic/universal React app, meaning it is rendered on the server by the same JS that powers the client-side, Single Page App user experi...
(1) odpowiedzi
2017-06-04 15:06 How do I get http headers in React.js »
I've made a request to a React page, and I need to get the headers from the request. I call the page via the URL: http://localhost/dashboard and I ...
(2) odpowiedzi
2017-06-04 09:06 Populate a React form with data if it exists »
I'm trying to pre-populate a form with data from my mongoDB. I think I'm supposed to use componentDidUpdate() to setState the state of the form field,...
(1) odpowiedzi
2017-06-03 19:06 A state mutation was detected between dispatches but I haven't mutated state »
I know this question has been asked before, but in almost all of them talk about the OP mutating the state directly, which I've tried to avoid using t...
(1) odpowiedzi
2017-06-03 15:06 React-Redux - failing to show props on view page »
EDIT: Ive changed my return to an object, yet still i'm getting empty props. console.log of mapStateToProps(state) shows that temperature is empt...
(1) odpowiedzi
2017-06-03 04:06 Using included script in index.html in React components »
I am trying to use a variable from a library I have loaded in a script tag in my index.html for my React components. I've loaded it as normal: <he...
(1) odpowiedzi
2017-06-02 11:06 Getting the id of a clicked element from rendered list »
What is the best way to get an id from a clicked element of a list? I am trying to render a list of items and then display an item detail view for the...
(2) odpowiedzi
2017-06-02 09:06 I want to enable pagination in my elasticsearch results by adding new page of results below the older one in React Js »
I am Building an UI (using ReactJs) for a search engine (using elasticsearch) and it returns 20 results per page. When I click next button, it gives o...
(1) odpowiedzi
2017-06-02 00:06 webpack plugin to replace a function with another »
I am trying to create a webpack plugin, that will parse the code for a certain function and replace it with another function, that plugin will also ex...
(0) odpowiedzi
2017-06-01 23:06 Uncheck radio buttons in react »
I think its a very silly doubt but I am stuck in this.. I have multiple radio buttons and I want to uncheck all the radio buttons as soon as I click t...
(2) odpowiedzi
2017-06-01 23:06 webpack-dev-server with hot reload reloading entire page with css changes »
I have hot reloading without any problems, but it reloads the entire page whenever I make a single css change. I would like it to inject any css chang...
(0) odpowiedzi
2017-06-01 07:06 Difference, when observable variable is updated inside action method and plain function in mobx? »
I am using MBOX for state management in ReactJS. I sometime update observable variable inside some function, than also it re-render the react compone...
(1) odpowiedzi
2017-05-31 23:05 How to import a component or file in React using variables? »
I'm building a web app using React that shows the blueprint for the building you select, in an already selected campus. I have a "Content" component ...
(2) odpowiedzi
2017-05-31 16:05 React Functional Component Inheritance »
i created a React functional component that is a wrapper around the react-data-grid component. now i need a second component that is exactly the same ...
(1) odpowiedzi
2017-05-31 10:05 Best practice when passing Redux state into components »
I'm working on a React + Redux project with a couple of other developers and we can't agree on what the best practice is regarding where to pass in th...
(2) odpowiedzi
2017-05-31 07:05 React Rendering Different Components »
Let's say I'm building a react application that changes content inside a box with a button click in this manner(Clicking the same button): Click 1: C...
(4) odpowiedzi
2017-05-30 12:05 How To: Use a React JS Environment »
this isn't directly based off of this tutorial: (YouTube) ReactJS Basics - #2 Setup Workspace with Webpack (All of the listed tutorials are respecti...
(1) odpowiedzi
2017-05-30 03:05 Redux actions depending on/coupled to other actions »
I am building a Redux application (my first) and am a little unclear about how much coupling is appropriate between actions. My application has sever...
(2) odpowiedzi
2017-05-30 01:05 How can I make redux dispatch an action as well as return a promise? »
Here is my function in songAction.js export function createSong(title, url, token) { axios.defaults.headers.common['Authorization'] = token ...
(3) odpowiedzi
2017-05-29 21:05 Proper way to package a react component library? »
Right now, I'm working on a React component library, which I want to deliver via npm to as many people as possible. I use webpack and babel for packag...
(2) odpowiedzi
2017-05-29 20:05 How to add elements dynamically using redux »
Hi I am trying to create a simple form builder using react + redux. I am facing an issue with adding elements dynamically from the sidebar to the con...
(3) odpowiedzi