Minor Changes
-
#1898
a3aa0fbThanks @whitphx! - AdduseKernelhook that creates a kernel tied to the React component lifecycle. The kernel is created after the first render (on mount) in an effect and automatically disposed on unmount, preventing resource leaks. Use this instead of callingcreateKernel()directly for most React use cases.
What's Changed
🏕 Updates
- Rename DEVELOPMENT.md -> CONTRIBUTING.md by @whitphx in #1888
- docs: condense CLAUDE.md from ~1850 lines to ~110 lines by @whitphx in #1886
- Add multi-app demo, E2E tests, and docs for @stlite/browser by @whitphx in #1887
- Add multi-app SharedWorker demo, E2E tests, and docs for @stlite/browser by @whitphx in #1890
- Dev/auto fixture e2e test dead link detection by @whitphx in #1896
- Feature/idbfs sample by @whitphx in #1892
- Add .claude/settings.json by @whitphx in #1904
- Fix/kernel data protocol by @whitphx in #1910
- Update Pyodide to 0.29.3 by @whitphx in #1893
- feat(react): add useKernel hook for lifecycle-managed kernel creation by @whitphx in #1898
- Version Packages by @whitphx-changesets-bot[bot] in #1911
👒 Dependencies
- Bump actions/download-artifact from 7.0.0 to 8.0.0 by @dependabot[bot] in #1883
- Bump actions/upload-artifact from 6.0.0 to 7.0.0 by @dependabot[bot] in #1884
- Bump actions/attest-build-provenance from 3.2.0 to 4.0.0 by @dependabot[bot] in #1885
- Bump actions/setup-node from 6.2.0 to 6.3.0 by @dependabot[bot] in #1894
- Bump dorny/paths-filter from 3.0.2 to 4.0.0 by @dependabot[bot] in #1907
- Bump actions/download-artifact from 8.0.0 to 8.0.1 by @dependabot[bot] in #1901
Full Changelog: https://github.com/whitphx/stlite/compare/@stlite/browser@1.2.0...@stlite/react@1.2.0