latitude-dev / latitude

Developer-first embedded analytics
https://latitude.so
GNU Lesser General Public License v3.0
626 stars 21 forks source link

Support for react components #331

Closed csansoon closed 2 weeks ago

csansoon commented 3 weeks ago

Added support for built-in out-of-the-box components in the React package.

Since the React package is now more complex and allows for multiple use cases, a new tab in the documentation has been added. Currently, the "React" documentation will have the following explanations:

For the sake of the component support, some simple components for different use cases have been added. More will be added in a different PR.

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: 1018ae59d68638929ca4779d5b7103de8e29cb22

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | --------------------- | ----- | | @latitude-data/svelte | Minor | | @latitude-data/react | Minor | | @latitude-data/client | Minor | | @latitude-data/server | Patch | | example-react | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

andresgutgon commented 2 weeks ago

Make sure when deployed next- version of this package that embedding keeps working. Use new version of this package.

You can fork this repo and update the version https://github.com/andresgutgon/latitude-embed/blob/main/package.json#L14