Last active
September 1, 2016 21:52
-
-
Save balkhaev/0a26f0b1f8172dfabe8d39bb6ec02f55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ViewStateMachine from 'ViewStateMachine.js' | |
const frontendMachine = new ViewStateMachine({ | |
name: 'frontendMachine', | |
type: 'specialized' | |
}) | |
frontendMachine.add({ | |
details: [ viewDetail, stateDetail ], | |
components: [ flashbackComponent, spectatorComponent ] | |
}) | |
frontendMachine.render(document.getElementById('app')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment