Question about current best practices for extending Effect.Service
im going through doing basic practice stuff and working my way up.
is this not the right way anymore(pictured)?
should i be doing this version below?
class DbService extends Effect.Service<DbService>()(
'DbService',
{
scoped: dbService
}
) {}
is this not the right way anymore(pictured)?
should i be doing this version below?
class DbService extends Effect.Service<DbService>()(
'DbService',
{
scoped: dbService
}
) {}

