PostHog / posthog-js-lite

Reimplementation of posthog-js to be as light and modular as possible.
https://posthog.com/docs/libraries
MIT License
70 stars 36 forks source link

Use `Platform.select` instead `Platform.OS` for conditional imports which avoids issues such as `Unable to resolve module`. #166

Closed marandaneto closed 10 months ago

marandaneto commented 10 months ago

Problem

Closes https://github.com/PostHog/posthog-js-lite/pull/165 Closes https://github.com/PostHog/posthog-js-lite/issues/164 Probably helps with https://github.com/microsoft/react-native-macos/issues/2053

Changes

Release info Sub-libraries affected

Bump level

Libraries affected

Changelog notes