This commit is contained in:
@@ -9,6 +9,7 @@ export class ReffuseContext<R> {
|
|||||||
readonly Provider: ReffuseContextReactProvider<R>
|
readonly Provider: ReffuseContextReactProvider<R>
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
// TODO: scope the layer creation
|
||||||
this.Provider = (props) => {
|
this.Provider = (props) => {
|
||||||
const runtime = ReffuseRuntime.useRuntime()
|
const runtime = ReffuseRuntime.useRuntime()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user