Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
clerk
/
javascript
Public
Notifications
You must be signed in to change notification settings
Fork
466
Star
1.7k
Code
Issues
27
Pull requests
104
Discussions
Actions
Security and quality
5
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
feat(ui): Add machine library for authoring flows
- #8919
#8919
Merged
alexcarpenter
merged 31 commits into
main
clerk/javascript:main
from
carp/mosaic-state-machine
clerk/javascript:carp/mosaic-state-machine
Copy head branch name to clipboard
Jun 26, 2026
Conversation
Commits
31
(31)
Checks
Files changed
Merged
feat(ui): Add machine library for authoring flows
#8919
alexcarpenter
merged 31 commits into
main
clerk/javascript:main
from
carp/mosaic-state-machine
clerk/javascript:carp/mosaic-state-machine
Copy head branch name to clipboard
Commits
Commits on Jun 18, 2026
init
alexcarpenter
committed
987a9be
View commit details
Copy full SHA for 987a9be
Browse repository at this point
wip
alexcarpenter
committed
803ea09
View commit details
Copy full SHA for 803ea09
Browse repository at this point
Update README.md
alexcarpenter
committed
b5b9b37
View commit details
Copy full SHA for b5b9b37
Browse repository at this point
Create ADOPTION.md
alexcarpenter
committed
40913f4
View commit details
Copy full SHA for 40913f4
Browse repository at this point
feat(ui): harden Mosaic machine type safety and migrate org sections
Show description for 2c0cbc6
alexcarpenter
committed
2c0cbc6
View commit details
Copy full SHA for 2c0cbc6
Browse repository at this point
add useMachineLogger
alexcarpenter
committed
76df631
View commit details
Copy full SHA for 76df631
Browse repository at this point
fix(ui): restart actor after stop so send works through StrictMode remounts
Show description for 9ca083c
alexcarpenter
committed
9ca083c
View commit details
Copy full SHA for 9ca083c
Browse repository at this point
fix(ui): reset actor to initial state on restart to prevent invoke re-fire
Show description for 1f7ff0b
alexcarpenter
committed
1f7ff0b
View commit details
Copy full SHA for 1f7ff0b
Browse repository at this point
fix(ui): use ref wrapper to prevent stale closure in section machine factories
Show description for 15788ac
alexcarpenter
committed
15788ac
View commit details
Copy full SHA for 15788ac
Browse repository at this point
feat(ui): add actor.setContext and sync options.context via useLayoutEffect
Show description for 8245c15
alexcarpenter
committed
8245c15
View commit details
Copy full SHA for 8245c15
Browse repository at this point
add changeset
alexcarpenter
committed
a521f2e
View commit details
Copy full SHA for a521f2e
Browse repository at this point
Revert "add changeset"
Show description for 0266948
alexcarpenter
committed
0266948
View commit details
Copy full SHA for 0266948
Browse repository at this point
feat(ui): add TStates generic and constrain on keys to TEvent['type']
Show description for 0ab48ad
alexcarpenter
committed
0ab48ad
View commit details
Copy full SHA for 0ab48ad
Browse repository at this point
Create SKILL.md
alexcarpenter
committed
7663f1a
View commit details
Copy full SHA for 7663f1a
Browse repository at this point
Commits on Jun 19, 2026
feat(ui): add onDone callback to useMachine
Show description for 99c8634
alexcarpenter
committed
99c8634
View commit details
Copy full SHA for 99c8634
Browse repository at this point
Update leave-organization.tsx
alexcarpenter
committed
dc92867
View commit details
Copy full SHA for dc92867
Browse repository at this point
feat(ui): add waitFor utility to mosaic machine
Show description for ffc1130
alexcarpenter
committed
ffc1130
View commit details
Copy full SHA for ffc1130
Browse repository at this point
feat(ui): add after (delayed transitions) to mosaic state machine
Show description for cfe984c
alexcarpenter
committed
cfe984c
View commit details
Copy full SHA for cfe984c
Browse repository at this point
chore(ui): remove waitFor — no production usage yet
Show description for 72bb8b5
alexcarpenter
committed
72bb8b5
View commit details
Copy full SHA for 72bb8b5
Browse repository at this point
wip
alexcarpenter
committed
e1c94a8
View commit details
Copy full SHA for e1c94a8
Browse repository at this point
feat(ui): add fromPromise to setup() for typed invoke output
Show description for bf5d62f
alexcarpenter
committed
bf5d62f
View commit details
Copy full SHA for bf5d62f
Browse repository at this point
docs(ui): document useEffect → machine migration patterns
Show description for 6741647
alexcarpenter
committed
6741647
View commit details
Copy full SHA for 6741647
Browse repository at this point
Commits on Jun 22, 2026
fix(ui): display error feedback after failed org delete/leave
Show description for 9e5a06c
alexcarpenter
committed
9e5a06c
View commit details
Copy full SHA for 9e5a06c
Browse repository at this point
fix(ui): harden machine library and add SAFETY comments to type casts
Show description for a87a507
alexcarpenter
committed
a87a507
View commit details
Copy full SHA for a87a507
Browse repository at this point
Commits on Jun 23, 2026
feat(ui): add machine-backed mosaic flow controllers
alexcarpenter
committed
a02e312
View commit details
Copy full SHA for a02e312
Browse repository at this point
Commits on Jun 24, 2026
fix(ui): optimize machine library footprint with nanostores patterns
Show description for dbfbc35
alexcarpenter
committed
dbfbc35
View commit details
Copy full SHA for dbfbc35
Browse repository at this point
Merge branch 'main' into carp/mosaic-state-machine
alexcarpenter
authored
9a3cee7
View commit details
Copy full SHA for 9a3cee7
Browse repository at this point
Merge branch 'carp/mosaic-state-machine' of https://github.com/clerk/javascript into carp/mosaic-state-machine
alexcarpenter
committed
83f7ec8
View commit details
Copy full SHA for 83f7ec8
Browse repository at this point
Commits on Jun 25, 2026
feat(ui): add inline transition function form to Mosaic state machine
Show description for 0c1d783
alexcarpenter
committed
0c1d783
View commit details
Copy full SHA for 0c1d783
Browse repository at this point
Merge branch 'main' into carp/mosaic-state-machine
alexcarpenter
authored
380bd93
View commit details
Copy full SHA for 380bd93
Browse repository at this point
Commits on Jun 26, 2026
fix(ui): address CodeRabbit review comments on Mosaic machine PR
Show description for e1fd1ba
alexcarpenter
committed
e1fd1ba
View commit details
Copy full SHA for e1fd1ba
Browse repository at this point
You can’t perform that action at this time.