]> git.cworth.org Git - lmno.games/commit
Add a ready bit to client state, and render nothing before ready
authorCarl Worth <cworth@cworth.org>
Sat, 27 Jun 2020 22:00:09 +0000 (15:00 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 27 Jun 2020 22:00:09 +0000 (15:00 -0700)
commit71a123df898044213dd6703c036d6bbbea7f7f8f
tree003c69aa8a2f7c277eb5cdb0c636bc7317380ff1
parent7c01cc8d716fbc5fc1b21a4684e5268ef721eb1c
Add a ready bit to client state, and render nothing before ready

The ready bit is set to true when the client receives a game-state
event from the server.

This commit fixes things so that users will not see a brief flash of
the category-input form before the actual content that is desired.
empathy/empathy.jsx