Error: Service not found for ServiceConfigEff in a Preact app with hooks
I'm getting an error
I'm building the live version of this service dynamically when a function is called for now, as I'm trying to fit Effect into a fairly full-on preact app with hooks.
Could any part of this be what causes the issues?
The snipped where the error happens is here, which is inside a function which may possibly get called multiple times:
Error: Service not found for a service I have called ServiceConfigEff (slightly confusingly, but the ServiceConfig part pre-existed me using Effect).I'm building the live version of this service dynamically when a function is called for now, as I'm trying to fit Effect into a fairly full-on preact app with hooks.
Could any part of this be what causes the issues?
The snipped where the error happens is here, which is inside a function which may possibly get called multiple times:
