You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: