Comments (1)
without jumping to the complexity of something like redux before it is necessary.
That's the idea :)
I've started with a setup that is a bit different than what is suggested here.
If you want to break out of the abstraction then its on you to deal with the hoop jumping. The internal data structure is not public API. I'm not sure why you would want to use async props for data loading in the client but not the server.
With the goal of trying to keep complexity low, I've started with a setup that is a bit different than what is suggested here.
I'm wondering what about async props is making you feel like you need to break away from it to decrease complexity.
Happy to talk about your use-case, but the internal state of AsyncProps, and the shape of the data it stores, won't ever be public API.
from async-props.
Related Issues (20)
- redirectToLogin middleware HOT 4
- loadProps Nirvana HOT 5
- loadProps in child route breaks <Link /> in react-router 2.0 HOT 2
- loadAsyncProps never fail? HOT 2
- Passing data through to loadProps HOT 17
- Clicking on a <Link /> before loadProps on client side finishes causes failure to transition HOT 2
- npm-scripts/postinstall.js global babel HOT 10
- async-props interferes with dynamic segments HOT 3
- Transfer to ryanflorence
- Rename loadContext to Context? HOT 3
- Setting Page Title from async-props HOT 2
- How to avoid overriding `createElement`?
- Possible to disable AsyncProps loading behavior?
- Is the loadPropsOnServer example up-to-date? HOT 4
- Using async-props with Alt.js HOT 1
- Promise support HOT 2
- Warning: React.createElement: type should not be null, undefined, boolean, or number. HOT 3
- loadProps won't be called in class unless class is prefixed with "export default" HOT 1
- error never throw to console when or before component mount
- Still maintained/relevant? HOT 2
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 async-props.