- #393
62ade27
Thanks @rschristian! - Fixspellcheck={false}
not rendering asspellcheck="false"
- #391
d80e4dc
Thanks @marvinhagemeister! - Allow any value forclass
+className
as long as it's stringified to match browser behavior.
- #388
4621fa3
Thanks @marvinhagemeister! - FixspellCheck={false}
not rendering asspellcheck="false"
- #386
220ad45
Thanks @JoviDeCroock! - Add async benchmarks and iterate on perf improvements
- #383
883e02b
Thanks @JoviDeCroock! - General performance optimisations
- #385
45b8e8b
Thanks @JoviDeCroock! - Improve perf a bit by hoisting the typeof check to reduce calling typeof
- #381
481b4f3
Thanks @rschristian! - SupportdangerouslySetInnerHTML={undefined}
withrenderToStringAsync
- #378
054dae0
Thanks @ccouzens! - Fix issue where preactRenderToString returns a promise of a promise
- #372
bebe4bf
Thanks @jacob-ebey! - fix: stop client runtime from being corrupted fix: insert ooo chunks in the proper order
- #362
3044ac2
Thanks @rschristian! - Correct stream exports
- #367
8c7e08f
Thanks @rschristian! - Add types for/stream
and/stream-node
exports
- #360
689e88d
Thanks @JoviDeCroock! - Correctly rendernull
as an__html
value as an empty string
- #356
4430ecf
Thanks @JoviDeCroock! - Add back publish with provenance
- #354
a004914
Thanks @JoviDeCroock! - Introduce a streaming renderer which can be imported frompreact-render-to-string/stream
andpreact-render-to-string/stream-node
- #354
a004914
Thanks @JoviDeCroock! - EnsurepopoverTarget
andpopoverTargetAction
are serialized to lower case
- #354
a004914
Thanks @JoviDeCroock! - Fix for shallow rendering incorrectly transforming Fragments into other nodes
- #354
a004914
Thanks @JoviDeCroock! - EnsurecellPadding
,cellSpacing
, anduseMap
are serialized to lower case
- #354
a004914
Thanks @JoviDeCroock! - streaming rendering with Suspense boundaries as flush trigger
- #347
7bc77a3
Thanks @marvinhagemeister! - Fix JSX template being detected as a top level Fragment when Deno's jsxprecompile
option is used
- #348
303b8c0
Thanks @marvinhagemeister! - Perf: Remove unnecessary closure when rendering child nodes
- #344
27a8b0e
Thanks @JoviDeCroock! - Ensure commonjs also has the async export
- #336
c46fb59
Thanks @marvinhagemeister! - Fix error thrown after suspending not being rethrown.
- #339
4462822
Thanks @marvinhagemeister! - Fix invalid parent pointer empty value when rendering a suspended vnode
- #333
6acc97a
Thanks @JoviDeCroock! - Allow prepass like behavior where a Promise will be awaited and then continued, this is done with the newrenderToStringAsync
export
- #324
6bf321d
Thanks @marvinhagemeister! - Fix mapped children not working with Deno's new precompile JSX transform.
-
926827c
Thanks @marvinhagemeister! - Add support for precompiled JSX transform, see https://deno.com/blog/v1.38#fastest-jsx-transform. Compared to traditional JSX transforms, the precompiled JSX transform tries to pre-serialize as much of the JSX as possible. That way less objects need to be created and serialized which relieves a lot of GC pressure.// input <div class="foo">hello</div>; // output const tpl = [`<div class="foo">hello</div>`]; jsxTemplate(tpl);
- #315
f1d81be
Thanks @JoviDeCroock! - avoid adding double colon for namespaced attributes
- #308
a331699
Thanks @marvinhagemeister! - Fix incorrect casing of HTML attributes and SVG attributes
- #310
017a8bb
Thanks @marvinhagemeister! - Fix casing of namespaced attribute names
-
#305
568f139
Thanks @marvinhagemeister! - Add support for error boundaries viacomponentDidCatch
andgetDerivedStateFromError
This feature is disabled by default and can be enabled by toggling the
errorBoundaries
option:import { options } from 'preact'; // Enable error boundaries options.errorBoundaries = true;
- #301
659b456
Thanks @marvinhagemeister! - Add experimental ability to render HTML comments via<Fragment UNSTABLE_comment="my-comment" />
. When theUNSTABLE_comment
prop is present all children of thatFragment
will be ignored and a HTML comment will be rendered instead. This feature is added to allow framework authors to experiment with marking DOM for hydration in the client. Note that it's marked as unstable and might change in the future.
- #298
6a4b8ed
Thanks @shinyama-k! - Fix to add type file for jsx.js
- #294
637b302
Thanks @marvinhagemeister! - Bring back exports from 5.x to make migration easier
- #292
8f4692c
Thanks @marvinhagemeister! - Fix error in commonjs entry point
- #241
e8cbf66
Thanks @developit! - Improve performance by another 5-10% usingswitch
and short-circuiting, and move pretty-printing from intopreact-render-to-string/jsx
.
- #282
6376f62
Thanks @JoviDeCroock! - Remove trailing space for void_elements, this could fail some test_assertions as<img />
will become<img/>
, the otherVOID_ELEMENTS
this will be applied for can be found here
- #286
7a8b590
Thanks @JoviDeCroock! - Remove the castin to VNode forpreact/debug
, this is fixed in Preact >= 10.13.0
- #286
7a8b590
Thanks @JoviDeCroock! - Change style calculation to use a Set rather than Regex
- #285
a0546fe
Thanks @JoviDeCroock! - Fix CJS export
- #288
0b04860
Thanks @glenchao! - Enumerate draggable attribute, so the output isn'tdraggable
butdraggable="true"
- #283
3defa9d
Thanks @JoviDeCroock! - Follow up fixes to #278
- #289
07ebc66
Thanks @JoviDeCroock! - Supportdata
attribute
- #270
5c6877d
Thanks @developit! - improve unmount option hook call performance
-
#278
8cf7cef
Thanks @JoviDeCroock! - Improve performance by- storing the void_elements in a Set
- hoisting the
x-link
regex - remove case-insensitive from regexes and calling
.toLowerCase()
instead - caching suffixes for css-props
- #257
8b944b2
Thanks @marvinhagemeister! - Fixpreact/debug
incorrectly throwing errors on text children
- #246
ad35c4c
Thanks @developit and @marvinhagemeister! - Fix object and function children being rendered asundefined
- #248
aa12b3c
Thanks @marvinhagemeister! - Fix vnode masks not matching with core due to top level component Fragments
- #242
bd5e5eb
Thanks @JoviDeCroock! - correctly unmount vnodes
- #237
dec7a7a
Thanks @JoviDeCroock! - add parent and children for useId
- #232
2d5ca74
Thanks @JoviDeCroock! - Performance enhancements
- #238
7cdf4d6
Thanks @developit! - Fix the order of invocation for the "before diff" (__b
) and "diffed" options hooks.
- #235
2f6d6e8
Thanks @marvinhagemeister! - Remove duplicate type path inpackage.json
. Only one oftypes
ortypings
is needed.
- #228
e4fe799
Thanks @developit! - Improve string encoding performance by ~50%
- #229
d83def7
Thanks @JoviDeCroock! - Split up hot paths and make separate path for opts.pretty
- #224
645f3cb
Thanks @rschristian! - EnsuresdefaultChecked
is serialized aschecked
attribute
- #225
31ac323
Thanks @JoviDeCroock! - Optimize perf by using smarter string builder
- #219
250c15f
Thanks @developit! - Implement hook state settling. Setting hook state during the execution of a function component (eg: inuseMemo
) will now re-render the component and use the final result. Previously, these updates were dropped.
- #215
a8672db
Thanks @AleksandrHovhannisyan! - Don't add selected attribute to elements if they already contain that attribute
- #209
298d05e
Thanks @rschristian! - On empty className w/ compat, class attribute will no longer be duplicated
- #205
6d47c5a
Thanks @JoviDeCroock! - Fix serialize defaultValue as value attribute