boardgame.io icon indicating copy to clipboard operation
boardgame.io copied to clipboard

Phase Hook behavior not fully documented

Open jimu opened this issue 3 years ago • 3 comments

Phases Documentation should include:

  1. the order that hooks are executed
  2. the conditions under which they are executed

See

jimu avatar Sep 24 '20 00:09 jimu

Agreed that these would be very helpful to add — I’m not even 100% clear on order myself.

delucis avatar Sep 24 '20 08:09 delucis

These tests might be a good place to start:

https://github.com/boardgameio/boardgame.io/blob/7254749886d7b6c1415a5dc2abeccf03260833cf/src/core/flow.test.ts#L1521-L1731

delucis avatar Aug 13 '21 22:08 delucis

bgio-hooks-order

delucis avatar Oct 17 '21 15:10 delucis