github Effect-TS/tsgo @effect/tsgo@0.74.1

2 hours ago

Patch Changes

  • 059b878: missedPipeableOpportunity no longer pulls React hooks into a pipe when the program references React (a package named react or @types/react, or any package depending on react). A callee named like a hook (use followed by an uppercase letter or a digit) ends the pipeable run, so the calls before it can still be reported:

    // before: Effect.succeed(1).pipe(Effect.asVoid, Effect.asVoid, useEffectValue)
    // after:
    useEffectValue(Effect.succeed(1).pipe(Effect.asVoid, Effect.asVoid))

Don't miss a new tsgo release

NewReleases is sending notifications on new releases.