Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: delph123/supplejs

Tags

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support effectless components (#31)

Allow components to return supple nodes directly (JSX / string / etc.) instead of having to return a supple node effect.

It will still be possible to return an effect, but not mandatory.

When returning a node directly, developers must be aware that the component won't be wrapped in a render effect and thus, the returned JSX must not be tracking any signal.

v1.2.2

Toggle v1.2.2's commit message
Do not export jsx-runtime from root package (index.ts)

v1.2.1

Toggle v1.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix extensions in released package (#27)

Having no extension can cause issue (#26).

Extensions are generated via regex after TS compilation phase. Using bundler like TSUP would work as well but also mess the files generated and make it more difficult to debug.

v1.2.0

Toggle v1.2.0's commit message
v1.2.0 - react-jsx transform compatibility

v1.1.1

Toggle v1.1.1's commit message
Add package exports

Package exports allows to declare modules exported by this package, same as "main" but in a more modern way.
It also prevents library consumers from consuming exported elements from nested modules (lib/context.js)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

v1.0.0

Toggle v1.0.0's commit message
v1.0.0 - MVP

New APIs to support error management:
- catchError<T>(tryFn: () => T, onError: ErrorHandler): T | undefined
- <ErrorBoundary fallback={(err: any, reset: (() => void)) => SuppleNode}>{children}</ErrorBoundary>

Add documentation to:
- render
- createRenderEffect

Misc:
- Provide return type to all API contract
- Bump ws to v8.17.1

v0.8.1

Toggle v0.8.1's commit message
v0.8.1 - Typo, UT, lint, formatting