Skip to content
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

Pass global data to each render() call #45

Open
binyamin opened this issue Jun 28, 2022 · 0 comments
Open

Pass global data to each render() call #45

binyamin opened this issue Jun 28, 2022 · 0 comments

Comments

@binyamin
Copy link

In other words, I would like to share data between views, by passing it once. I think it should either be an extension of viewConfig, or part of oak's context.state. I prefer the latter suggestion, because context.state is built for this purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant