Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate ViewContext get/create context behavior
Separating these behaviors eliminates and entire class of bugs like forgetting to re-set the thread local, attempting to re-set the block-local conditionally, and so on. It also makes it more obvious that `self.current` is memoizing.
- Loading branch information