Andrew Rasmussen
Andrew Rasmussen
Same issue. Appreciate your plugin nonetheless, will work around. Just wanted to chime in with feedback. 🙂 ```javascript // works require('alias/file') // doesn't work const filename = 'file'; require('alias/' +...
It looks like this library directly uses react-redux's connect, how would I go about injecting my own connect function instead? Or somehow passing the {pure: false} setting so it knows...
Ended up making a similar wrapper for the asyncConnect decorator and context updates propagate once again: ```es6 import { asyncConnect } from 'redux-connect'; export default function myAsyncConnect(asyncItems, mapStateToProps, mapDispatchToProps) {...
Feel free to close, might be cool to add this to FAQ or somewhere indexable by Google for "context updates don't propagate asyncConnect / redux". Thanks for the awesome lib!
Sure, but it's cleaner to just do ```es6 asyncConnect([ Container.asyncConnect, ]) ``` rather than ```es6 asyncConnect([ Container.asyncConnect, ], null, null, null, {pure: false}) ``` all over the codebase. Containers shouldn't...
I'm not sure what you mean by context itself not changing though. My context changes from {obj: {foo: 'bar'}} to {obj: {foo: 'baz'}} and updates don't propagate to components who...
I am changing context via Object.assign({}, obj, {foo: 'baz'}) so it should be completely changing the reference. Maybe React is being "smart" and changing keys on the underlying object under...
Hmm. I use context for the current viewer and company (customer), pretty much everything else is passed via props. That being said, every single container I use that fetches data...
Yeah they pretty much only update when the user explicitly edits one of them and they get reloaded. Which is only on a few specific components (edit user, edit company,...
Maybe I could do something like: ```es6 const asyncFetch = { promise: ({store: {dispatch, getState}}) => { return dispatch(loadViewer()); }, }; @asyncConnect([asyncFetch]) export default class ChildContainer extends Component { static...