For blocks, if you have something lower in the order that depends on something higher in the order, you should duplicate that data and add it to your extra state.
For example, if you have a field that only exists if a next block is connected, you should add info about that next block to your extra state, so the field can be added to your block before the field’s state is deserialized.
--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/4c0e1530-57c9-446c-8b3d-a031b8b44988n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/209e8134-f62b-4d20-9505-d7b4cdb40ccdn%40googlegroups.com.