clerk / javascript

Official JavaScript repository for Clerk authentication
https://clerk.com
MIT License
1.18k stars 265 forks source link

feat(clerk-js): Add sandbox support for persistent component props #4610

Closed dstaley closed 6 days ago

dstaley commented 6 days ago

Description

This PR adds the ability to create persistent props for components within the clerk-js sandbox with the following API:

components.signIn.setProps({ ... })

These props are then persisted to localStorage in addition to being encoded within the URL so that they can be shared.

Checklist

Type of change

changeset-bot[bot] commented 6 days ago

🦋 Changeset detected

Latest commit: 730c46aa4a2c672461d6058b7e7e1c510b41d31c

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

This PR includes changesets to release 0 packages When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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