Skip to content
This repository was archived by the owner on Sep 13, 2025. It is now read-only.

Releases: clebert/snugjs

v3.1.0

Choose a tag to compare

@clebert clebert released this 03 Nov 22:40

v3.0.0

Choose a tag to compare

@clebert clebert released this 02 Nov 13:24
  • Disconnection is synchronous instead of asynchronous
  • Fix race conditions and rewrite unit test cases
  • Detect new text nodes with the same content to avoid unnecessary iterations
  • The createElementRef function accepts custom element factories for convenience and correct typing

v2.1.0

Choose a tag to compare

@clebert clebert released this 31 Oct 12:51

v2.0.0

v1.1.0

Choose a tag to compare

@clebert clebert released this 30 Oct 09:23

v1.0.0

Choose a tag to compare

@clebert clebert released this 29 Oct 17:38

v0.4.1

Choose a tag to compare

@clebert clebert released this 09 Aug 22:43

v0.4.0

Choose a tag to compare

@clebert clebert released this 09 Aug 22:28
  • Major mechanics update
    • A component now yields a signal directly instead of a function which produces a signal
      • this prevents a signal from being skipped due to the asynchronous nature of the runtime
    • The Subject class now also allows the nextSignal to be retrieved already
      • this is necessary, for example, in the case of the Children class, where rendering can invalidate the current signal downstream
    • The props of a component may only be primitives (boolean, number, string)
    • The h function is implemented more robustly, has full test coverage, and many bugs have been fixed
    • The h function now uses the key attribute to cache both custom elements as well as intrinsic elements
    • The newly introduced ref function can be used to more conveniently create stable element references declaratively

v0.3.2

Choose a tag to compare

@clebert clebert released this 07 Aug 10:45

v0.3.1

Choose a tag to compare

@clebert clebert released this 06 Aug 21:52