Closed delaneyj closed 11 months ago
Lit Core (lit / lit-html / lit-element / reactive-element), Context (@lit-labs/context)
New to Lit but trying to build a declarative 3D scene handler. Want to use context to wire up objects because most don't live within the DOM nor have a render function. I brought up in the Discord help channel and @tbroyer said to create an issue.
https://lit.dev/playground/#gist=2543624c73945ed873ec31e3befb3d93
In the playground example
No or unsure. This never worked, or I haven't tried before.
v2 playground
Version 116.0.5845.110 (Official Build) unknown (64-bit) Pop OS 22.04
It appears this is an issue of using latest lit with older lit-lab/context instead of @lit/context. Sorry for the confusion
Which package(s) are affected?
Lit Core (lit / lit-html / lit-element / reactive-element), Context (@lit-labs/context)
Description
New to Lit but trying to build a declarative 3D scene handler. Want to use context to wire up objects because most don't live within the DOM nor have a render function. I brought up in the Discord help channel and @tbroyer said to create an issue.
Reproduction
https://lit.dev/playground/#gist=2543624c73945ed873ec31e3befb3d93
Workaround
In the playground example
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
v2 playground
Browser/OS/Node environment
Version 116.0.5845.110 (Official Build) unknown (64-bit) Pop OS 22.04