Gabin Aureche

Results 70 comments of Gabin Aureche

Hey @bender2601, thank you for the kind words and sorry for the delay. Sadly, due to the way the internal state of each scene is handled, it's impossible to instant...

I'll look into it and see if you could get it working by "destroying" the instance but I'm afraid that the `timeout`s will remain and lead to a memory leak...

Sure, it can be achieved by limiting TheaterJS to the word you want to change. The following should work: ```html I like to drink . ``` ```js theaterJS() .addActor('drink') .addScene('drink:coffee')...

Yes, your example should work. You can initialize the markup with the value you want it to have initially. Are you having any trouble with it?

Oh ok, I now understand what you're looking for 👍 I'm afraid that is not possible without playing with the library's internals. Could you tell me more about your use...

Any reason for using `require` and not ES2015's `import`? Also, `"use strict"` is the default behavior of modules so babel's going to add it automatically. Maybe some destructuration could improve...

Oh and one last thing for today: redux encourages you to provide a default value for the state within a reducer, e.g: ``` javascript function todos (state = [], action)...

Dan did a great job at introducing those concepts in his egghead's serie: [Getting Started With Redux](https://egghead.io/series/getting-started-with-redux). He starts by showing what the code would look like without the redux/react-redux...

Hey there! Sadly there's no way to play the previous/next scene due to the way the state is handled (related to #50) and it'd involve quite some work :/

@felixheck Thanks for the suggestion, it definitely makes sense!