Skip to content

Inject variables into ft.app() #1909

Answered by FeodorFitsner
d3jong asked this question in Q&A
Discussion options

You must be logged in to vote

What are you trying to solve? You don't need injecting anything - main function has access to the outside scope.
In our apps we use to have state (or store) object which is a singleton in a module and which reference could be shared between multiple sessions.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@d3jong
Comment options

@plugeit
Comment options

@d3jong
Comment options

@Soif2Sang
Comment options

@d3jong
Comment options

Answer selected by d3jong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants