-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
I have downloaded and installed your app and it works great, except the Landing page code is called twice, causing anything on the landing page to be called twice as well.
It appears the sagaMiddleware.run(sagas) causes the second rendering. Which makes sense as the page is first rendered, then when the async code is completed it runs again. I was hoping to write code like this to avoid the second rendering:
`let task = sagaMiddleware.run(sagas)
injectTapEventPlugin()
task.done.then(() => {
ReactDOM.render(
,
document.getElementById('root')
)
});`
Unfortunately the task promise never resolves. Do you know what the issue might be?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels