-
- Downloads
Move scratch-storage init/attach to vmListenerHOC
Attaching the storage module in `vmListenerHOC` means it can propagate down to the GUI, stage, and blocks naturally. The default VM property value has been removed from those places so that we're not instantiating extra VM instances any more. Instead, using one of those components outside of the `vmListenerHOC` framework will require providing a VM instance as a property.
Showing
- src/components/gui/gui.jsx 2 additions, 7 deletionssrc/components/gui/gui.jsx
- src/containers/blocks.jsx 2 additions, 3 deletionssrc/containers/blocks.jsx
- src/containers/stage.jsx 1 addition, 5 deletionssrc/containers/stage.jsx
- src/lib/vm-listener-hoc.jsx 5 additions, 1 deletionsrc/lib/vm-listener-hoc.jsx
Loading
Please register or sign in to comment