Support for context (variables) in import()?
See original GitHub issueHi! Thanks for the great work. Seems like a very good contender on the field of making SSR nice and round.
Comparing with some other solutions I was wondering whether the solution supports context imports like import(`./views/${viewName}`)
- would be somewhat nicer than wrapper each individual view/page.
The reason I am writing an issue is because there is nothing officially mentioned in the docs.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
contextvars — Context Variables — Python 3.11.1 ...
This module provides APIs to manage, store, and access context-local state. The ContextVar class is used to declare and work with Context Variables....
Read more >Context Variables in Python - GeeksforGeeks
Context variable objects in Python is an interesting type of variable which returns the value of variable according to the context.
Read more >Fetching Context Variables by identifier - Stack Overflow
I'm trying to use the new contextvars library (https://docs.python.org/3/library/contextvars.html) to make certain values available across ...
Read more >Thread Context Variables in Python
You can create and use context variables via the contextvars.ContextVar class. In this tutorial you will discover how to use context ...
Read more >Trigger Context Variables | Apex Developer Guide
All triggers define implicit variables that allow developers to access run-time context. These variables are contained in the System.Trigger class. Variable ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So you will have one Loadable component for each possible view.
I think this is not a good approach, views are already known because they are actually real files. I suggest you to generate the whole possibilities, you can do it using a custom script or maybe Prepack.