I am simply trying out Disqus for the first time and trying to use the Universal Code but I am getting the following error:
Following is the code:
import React, { Component } from 'react'
import { Divider } from 'material-ui'
const styles = {
…
Currently I have a sample which I'm working on which is a basic master details page. This sample uses react-router-redux. Within the details panel I have a number of tabs which use can see different facets of the selected item... all fairly standard…
I use react + react-router + redux. I would like to create a global thing for handling all the errors thrown in the app. Is it possible to catch also API call errors and 401 statuses?
I thoung about something like this in…
I am looking for any suggestion to debug this issue.
Normally when my reactjs app starts, it initialises the state to the following
The CollectionData class is basically a class that consists of many properties of type immutable-js map.
export…
I am currently developing an application in react using redux, react-router (with pushState History) and react-router-redux. What i am currently doing is that i am binding my routes to specific components, like i saw as best practice in every…
For reference, I am using the React-Redux Starter Kit (https://github.com/davezuko/react-redux-starter-kit) as a base project layout.
Ive got a route named TSP, and I am using getComponent and redux connect() to inject a reducer on a container…
I'm stuck creating a single page app using react, redux, react-router and react-redux-router bindings.
The route http://localhost:3001/register is simply not matched by the router and Cannot GET /register is returned to the browser because the…
when u seem to require forward in reactjs we used to put a Link or button ,and then consumer click it ,then the page reload corresponding path of router . Now,I want the page turn to other path of router when I request a post and the status of…
I'm trying to implement redux in my universal app, but I've some problems with redux.
I've this configureStore function:
import { createStore, applyMiddleware, compose } from 'redux';
import thunkMiddleware from 'redux-thunk';
import createLogger…
My index.js looks like:
const store = configureStore()
render(
,
document.getElementById('root')
)
and my Root.js looks like:
class Root extends Component {
render() {
const { store } =…
New to React, building a search app where the URL is built up based on search term entered and subsequent filters that are selected. I am updating the query string, not the path, based on search term and selections made. (e.g…
I am having trouble understanding some ReactJS and Redux principles,
In Redux we have a store and a set of reduceres that give your final state ( this part I get).
A Component receives props from their parent component, in case of Redux it passes…
I m currently using react-router-redux on a project and everything is working fine except for the fact that i can't figure out how to access the react-router router.
@connect((state, props) => {
return {
…
i'm doing an i18n implementation. I have my routes like /:locale/rest/of/route and i want to pass the dictionary depending on which locale is loaded. This would be cool to do it on the routes configuration. But i can only think on doing this on…