-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation? #24
Comments
I think it's the top level controllerState value? I'm new to this too and I'm updating an existing application. |
Anybody know how to just navigate to a different controller? |
If I remember correctly, that's being done by changing the |
Anybody find this methodology limiting them later in development? |
IMO, from the Roku newbie standpoint, this methodology was working very nicely; I've created a few Controllers and experimented with navigation between them, and it was working as expected. Not sure what limitations you have in mind? Ultimately, I've given up on this framework because it's not really documented, there were parts of the code I wasn't sure what are doing, and I had a few nasty race conditions with HTTP requests 😅 Might be because I'm still kinda new to Brs, but I've decided to build something on my own. Maestro framework looks nice, but it still has a lot of code overhead and complexity, not really something to get with a start and running for fresh Roku devs. |
@jfrux @Puritanic @bbonet-entercom Thanks for helping each other out in this forum. Yes. That is right. To move to a new controller, you'd need to set an associative array object to this prop
***NOTE: Controller component contains a special property called All being said this is an opinionated framework that i've used for at least 4 production apps. It has been successfully used to render complex views such an Electronic Program Guide and containing screens where a video player is maintained through the app session. @Puritanic Please share the framework you build. I'd love to take a look at it. Happy to help with any race conditions you may have experienced in regards to the HTTP network calls you made. |
Is there any documentation or example on how is this framework supposed to be used? I'm still kinda new to brightscript, experimenting a bit with scenegraph last few days, and would like to try out this framework, but I have no idea how, for example, navigation should work.
If I'm correct onNavigateTo is similar to componentDidMount React lifecycle hook and onNavigateAway is kinda like componentWillUnmount.
I see that onNavigateAway accepts
navigationParams.params
but I don't know how params look like. Also, I see that onNavigateAway doesn't take any arguments, how Brightscript knows what Controller should be displayed when we navigate away from Home controller for example?The text was updated successfully, but these errors were encountered: