Skip to content

Add SolidJS integration package#406

Merged
tim-smart merged 5 commits intotim-smart:mainfrom
kitlangton:kitlangton/solidjs-support
Feb 14, 2026
Merged

Add SolidJS integration package#406
tim-smart merged 5 commits intotim-smart:mainfrom
kitlangton:kitlangton/solidjs-support

Conversation

@kitlangton
Copy link
Contributor

@kitlangton kitlangton commented Feb 9, 2026

(A port of the effect-smol impl)

Summary

  • Adds @effect-atom/atom-solid package with SolidJS adapter hooks
  • Includes useAtomValue, useAtom, useAtomSet, useAtomMount, useAtomRefresh, useAtomSubscribe, useAtomRef, useAtomRefProp, useAtomRefPropValue, useAtomInitialValues
  • RegistryProvider and RegistryContext for dependency injection
  • Comprehensive test suite covering all hooks

@kitlangton kitlangton closed this Feb 9, 2026
@kitlangton kitlangton reopened this Feb 9, 2026
@kitlangton kitlangton force-pushed the kitlangton/solidjs-support branch 2 times, most recently from 076943d to 42d518c Compare February 9, 2026 22:01
@kitlangton kitlangton marked this pull request as ready for review February 9, 2026 22:01
SolidJS adapter for @effect-atom/atom with hooks:
- useAtomValue, useAtom, useAtomSet, useAtomMount, useAtomRefresh
- useAtomSubscribe, useAtomRef, useAtomRefProp, useAtomRefPropValue
- useAtomInitialValues
- RegistryProvider and RegistryContext
- Comprehensive test suite (264 lines)
@kitlangton kitlangton force-pushed the kitlangton/solidjs-support branch from 42d518c to 6b48923 Compare February 13, 2026 20:02
kitlangton and others added 4 commits February 13, 2026 17:17
…tion

queueMicrotask passed unbound can throw "Illegal invocation" in browser
runtimes when Registry invokes it as this.scheduleTask(). Wrap it in an
arrow function for both the default context and RegistryProvider.
@tim-smart tim-smart merged commit 12681bf into tim-smart:main Feb 14, 2026
3 checks passed
@github-actions github-actions bot mentioned this pull request Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants