Data dodania Pytanie
2017-03-18 21:03 Modal not showing proper video in react »
Hi I'm implementing a sample app with react,I'm also using youtube api search and react bootstrap. The idea is the following, I enter a search term, ...
(1) odpowiedzi
2017-03-18 21:03 routing data to my param page in react.js »
I'm currently trying to pass my data when you click on a link on the list component, it will go to the article component where it displays all the dat...
(1) odpowiedzi
2017-03-18 15:03 Sendbird messaging service duplicate new messages in each group channel »
When am sending new message it goes to all the distinct group channel, and it shouldn't be like this by default. Any suggestion appreciated. For mes...
(2) odpowiedzi
2017-03-17 09:03 onClick function with parameter in redux "presentation" component »
What is the best way to pass an object as argument to a function in a redux "presentation component"? I have a <BookList /> container component...
(1) odpowiedzi
2017-03-17 08:03 How to chunk the bundle.js file? »
I have created a project using react and flux architecture. Need to chunk the bundle.js file because by combining all the files it is creating a huge...
(2) odpowiedzi
2017-03-17 05:03 Load a css class on hover »
I have a div and when i hover that div i want to call another css class. I have used some ways i've found but i cannot get it to work. html code ...
(6) odpowiedzi
2017-03-16 15:03 React Component not rending in Play app »
I have a Play/scala/sbt project with following React component saved at app/assets/javascripts/nav.jsx: class Nav extends React.Component { const...
(1) odpowiedzi
2017-03-16 14:03 React Leaflet: Add markers dynamically »
How to add markers dynamically to React-Leaflet maps? I want to add new markers when user clicks on map. And I cannot get it work. import React, { C...
(1) odpowiedzi
2017-03-16 10:03 Meteor app data structure for the current user? »
I'm using React and Meteor. At the top level I have one MainWrapper component. It shows loading if the User data hasn't arrived, login/register if th...
(2) odpowiedzi
2017-03-16 03:03 Does importing the default export along with a named export load the module twice? »
What happens when you write an import statement in the following form: import React, { Component } from 'react'; Is destructuring of the import mod...
(2) odpowiedzi
2017-03-15 19:03 JavaScript, React const »
I just faced this Java Script code: const { myKey, uname, issorted, title, hClick, } = this.props; Please tell me what this means? What a...
(3) odpowiedzi
2017-03-15 18:03 Integrating react into EJS project »
I'm trying to integrate React (and subsequentially JSX) into my already built / established project that uses EJS. (EJS w/ Node, express, mongo, brows...
(0) odpowiedzi
2017-03-15 16:03 React docs --> GitHub markdown files that use special table syntax »
If you look at a React docs markdown file (which are used to generate the docs html pages), you'll see a table of values at the very top (in the .md, ...
(1) odpowiedzi
2017-03-15 16:03 Is there any utility to the so-common case of merely serving a React class as a web-app, without the boilerplate? »
Suppose you define a whole web-app as a React class: const myWebApp = React.createClass({...}) That is, no CSS, no routes, just a flat SPA out of a...
(0) odpowiedzi
2017-03-14 22:03 Dynamic Theme in Styled Components »
I'm using styled-components in my React app and wanting to use a dynamic theme. Some areas it will use my dark theme, some will use the light. Because...
(1) odpowiedzi
2017-03-14 10:03 React not updating the DOM (Laravel) »
I have set up a basic react app with hash navigation. Problem is when I click on any link to navigate between pages, I see that the hash in the url is...
(3) odpowiedzi
2017-03-14 01:03 ReactJS: Separating Components Best Practices »
So, I have a react-bootstrap nav and I want to have one of the nav items open and close a bootstrap modal component. I have this working with this: ...
(2) odpowiedzi
2017-03-13 22:03 Wrong components rendered by Preact »
I'm using Preact (for all intents and purposes, React) to render a list of items, saved in a state array. Each item has a remove button next to it. My...
(1) odpowiedzi
2017-03-13 11:03 How can I unit test a component which dispatches an action in reactjs/redux app? »
I have a reactjs component that has a method doSomething: doSomething() { this.setState({ checked: !this.state.checked }, function ()...
(2) odpowiedzi
2017-03-13 04:03 Should I use React.PureComponent everywhere? »
React says pure render can optimize performance. And now React has PureComponent. Should I use React.PureComponent everywhere? Or when to use React.Pu...
(1) odpowiedzi
2017-03-12 19:03 reactjs reflux handle login »
I'm new to ReactJS and I followed this tutorial: http://adamalbrecht.com/2015/07/20/authentication-using-json-web-tokens-using-rails-and-react/ After...
(1) odpowiedzi
2017-03-12 18:03 What is the relationship between a javascript UI library and framework? »
I want to know what the relation is between an UI library in javascript and a framework in javascript. Put in more concrete terms/example: What is th...
(1) odpowiedzi
2017-03-12 15:03 Using React IndexRoute in react-router v4 »
I'm learning React myself with online tutorial. So this is a basic example about using React Router: <Router history={browserHistory}> <...
(1) odpowiedzi
2017-03-12 10:03 Can't type in redux-form Field »
I cannot type anything in my form Fields. I searched for solutions, but found none of which solved the problem. Looking at simular problems, it is pro...
(1) odpowiedzi
2017-03-11 22:03 How to get Primitive Array from ES6 Promises »
I am trying to load glsl scripts as strings using the ES6 Promise and Fetch APIs. I thought I had a pretty elegant solution for getting the vertex and...
(1) odpowiedzi
2017-03-11 19:03 Why doesn't React component doesn't render even though webpack doesn't throw any errors? »
app-client.js var React = require('react'); var APP = require('./components/APP'); React.render(<APP />, document.getElementById('react-contain...
(1) odpowiedzi
2017-03-11 05:03 Why is my call to (mobx) extendObservable not triggering a re-render? »
Here is the code -- pretty sure it is something about extendObservable that I just don't get, but been staring at it for quite a while now. When addSi...
(1) odpowiedzi
2017-03-10 23:03 How to handle local state when using relay? »
I am working on a react/relay-based content management system. Users can create and modify articles, which are stored on the server. I was wondering w...
(0) odpowiedzi
2017-03-10 20:03 Access state property inside mapStateToProps »
I need to access specific properties of the redux state inside my containers. These properties will in turn be used as a key to fetch other nested pro...
(1) odpowiedzi
2017-03-10 18:03 Flat Array vs nested Array in React are treated differently »
I have noticed that I can pass to React a set of nested arrays and it will render the items properly, but when I go this way, it will not complain of ...
(2) odpowiedzi
2017-03-09 16:03 Draftjs components with props »
I'm new to draftjs and I was wondering if there was a way to render my custom components inline in the editor. I have a string with twitter handles. ...
(1) odpowiedzi
2017-03-09 13:03 How to handle Audio playing in React & Redux »
I am making an audio player. It has pause, rewind and time seek features. How and who should handle the audio element? I can put it aside the store....
(1) odpowiedzi
2017-03-09 11:03 React components not updating when firebase updates »
I've set up a people tracker for my smart home dashboard (built in react and firebase). However when the firebase database changes, it is not causing ...
(1) odpowiedzi
2017-03-08 18:03 How to pass Material-UI FlatButton CSS into other Button component »
I'm using a loading button object in my website (https://github.com/mathieudutour/react-progress-button), and I'm trying to pass the Material-UI FlatB...
(1) odpowiedzi
2017-03-08 08:03 Destructuring of es6 but passing dynamic variable »
Says my state is like this: { item:{ a:'a', b:'b' } } Then I'm able to pull a from item by doing: const { a } = this.state.item b...
(1) odpowiedzi