github PostHog/posthog-js @posthog/react@1.10.5

latest release: posthog-js@1.419.2
2 hours ago

1.10.5

Patch Changes

  • #4645 cb7cc12 Thanks @turnipdabeets! - Type declarations no longer import the JSX namespace from react, so they typecheck against @types/react back to the declared 16.8.0 floor. Component return types are now spelled ReactElement<any, any>, which is the definition of JSX.Element — the same type, so consuming code is unaffected.

    JSX only became an exported member of the react types module in @types/react@18.2.6, so projects on older React types previously saw TS2305: Module '"react"' has no exported member 'JSX' when checking these declarations with skipLibCheck: false. (2026-08-25)

  • Updated dependencies [cb7cc12]:

    • posthog-js@1.419.2

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.