Comments (3)
Similar issue here: #55
I think it's not clear how to declare deferred
request with redux-async-connect
. What are we missing?
from redux-async-connect.
+1
from redux-async-connect.
I was stuck with doing this as well, you can pass a filter prop to ReduxAsyncConnect. You can do something like:
ReactDOM.render(
<Provider store={store}>
<Router render={(props) => <ReduxAsyncConnect {...props} filter={item => !item.deferred} />} history={history}>
{routes}
</Router>
</Provider>,
dest
);
or whatever you'd like.
Discovered this after being referred to: https://github.com/erikras/react-redux-universal-hot-example/blob/615dfcd2562b8380e1d199b3d840d292358198dc/src/client.js#L39
from redux-async-connect.
Related Issues (20)
- How to perform a synchronous call?
- How to access props in reduxAsyncConnect function? HOT 2
- No documentation for loadOnServer
- loadOnServer is not in sync with AsyncConnect HOT 1
- How to sync @asyncConnect with loadOnServer
- asyncConnect doesn't block mounting when programmatically navigating
- How can I use it with immutablejs? HOT 2
- Accessing PropTypes via the main React package is deprecated.
- The sample client code in usage doesn't work. HOT 2
- Cannot find module 'react-router/lib/RouterContext' HOT 3
- npm Warning requires [email protected] HOT 2
- How can I use it with react-router v4? HOT 3
- use react@16 ??? HOT 1
- How to use with code splitting / loadable-components
- Load empty block by server side rendering HOT 1
- Support react-v15.2.x
- upgrade needed to react "react": "^15.2.1", HOT 1
- first entry page miss render
- How loadOnServer works? HOT 1
- Help needed: dipatch, getState not being made available to action creators
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redux-async-connect.