Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Conversation

@brianlovin
Copy link
Contributor

Status

  • WIP
  • Ready for review
  • Needs testing

Deploy after merge (delete what needn't be deployed)

  • hyperion (frontend)

mxstbr and others added 18 commits June 15, 2018 11:10
This was necessary when we didn't use `react-loadable` for SSR, but now
that we do this is entirely unused so we can just get rid of it!
@brianlovin this _should_ fix the ?t param even when loaded with SSR,
right? The issue previously was that we'd mount with an active thread,
but the dashboard would still switch to the first one that's loaded once
the thread feed loads.
We unset the mounted thread ID before any threads were loaded, so when they finally did load in mountedThreadId was null and the app thought it had to select the first thread. This fixes it by only doing the "unset mounted thread id" logic after threads have already loaded! 🎉
Also refactor render code a bit to be nicer
This is cherry-picked from #3334 since that's not quite done yet,
but this should go live asap.
@spectrum-bot
Copy link

spectrum-bot bot commented Jun 25, 2018

Warnings
⚠️

These modified files do not have Flow enabled:

  • config-overrides.js
  • shared/middlewares/thread-param.js

Generated by 🚫 dangerJS

@brianlovin brianlovin merged commit 495bc6a into production Jun 25, 2018
@brianlovin brianlovin deleted the 2.4.11 branch June 25, 2018 17:15
@ryota-murakami
Copy link
Contributor

@brianlovin @mxstbr Wow, Dashboard speeeeeed amazing!😜🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants