Marvin Hagemeister
9f81806c6e
fix: __FRSH_STATE potentially being overwritten by user code ( #2256 )
...
As outlined in https://github.com/denoland/fresh/issues/2254 it was
possible to overwrite the script tag that is used by Fresh to pass
island props from the server to the client. This could be done by
injecting raw HTML via `dangerouslySetInnerHTML` and simply using the
same id that Fresh was using.
With this PR we generate a unique id per render that cannot be guessed
anymore. It's composed of `__FRSH_STATE_<uuid>`
2024-01-15 19:41:12 +01:00
Igor Brasileiro
e7bf6aca62
fix: Prevent update doc title from partial if not present ( #2244 )
...
fixes #2243
2024-01-12 18:47:40 +01:00
Marvin Hagemeister
325850719a
feat: reduce number of island bundles ( #2082 )
2023-11-28 17:23:27 +01:00
Marvin Hagemeister
a56ea283c8
fix: Partials not working on error pages ( #2072 )
2023-11-27 16:56:46 +01:00
Marvin Hagemeister
27adeb7b14
fix: redirects with partials ( #2053 )
2023-11-21 11:35:08 +01:00
Reed von Redwitz and Marvin Hagemeister
536463775c
feat(dev): reduce manifest merge conflict potential ( #2020 )
...
Co-authored-by: Marvin Hagemeister <marvin@deno.com >
2023-11-08 09:59:27 +01:00
Reed von Redwitz
63ac1e6362
feat(server): add isPartial to context types ( #1977 )
2023-10-26 22:26:36 +02:00
Marvin Hagemeister
7896005329
fix: error on duplicate partial name ( #1958 )
2023-10-18 20:04:37 +02:00
Tiago Gimenes
84ff79beca
feat: Nested partials support ( #1955 )
2023-10-18 18:26:46 +02:00
Marvin Hagemeister
bfabb2ec98
feat: add support for partials on forms ( #1930 )
2023-10-16 22:45:11 +02:00
Marvin Hagemeister
0192316785
fix: unable to opt out of nested client nav ( #1940 )
2023-10-15 08:41:13 +02:00
Marvin Hagemeister
7d954584a6
fix: island marker parsed as key marker ( #1922 )
2023-10-12 13:40:23 +02:00
Marvin Hagemeister
a1f0d4a5bd
fix: don't scroll on fragment links in partials ( #1906 )
2023-10-11 10:30:31 +02:00
Tiago Gimenes
2df5921b59
feat: Use href instead of origin on Partial ( #1870 )
2023-10-07 23:07:42 +02:00
Marvin Hagemeister
6598eb39a0
feat: support f-partial on buttons ( #1867 )
2023-10-05 13:53:51 +02:00
Marvin Hagemeister
51d00d20e0
fix: duplicate partial head tags ( #1864 )
2023-10-05 12:23:44 +02:00
Marvin Hagemeister
b3a3bd1069
feat: add support for partial <head> merging ( #1863 )
2023-10-05 12:04:38 +02:00
Marvin Hagemeister
add696faeb
feat: support scroll restoration for partials ( #1858 )
2023-10-05 10:00:56 +02:00
Marvin Hagemeister
9018024b7e
feat: collect partials deeply from response ( #1860 )
2023-10-04 22:33:27 +02:00
Marvin Hagemeister
3b73449a93
fix: only render keyed comments when needed ( #1859 )
2023-10-04 22:07:06 +02:00
Marvin Hagemeister
be1c15f8f3
fix: throw error when no partials found ( #1853 )
2023-10-04 15:38:43 +02:00
Marvin Hagemeister
ea91687ea3
fix: active links outside partials not updated ( #1852 )
2023-10-04 15:07:27 +02:00
Marvin Hagemeister
4295dbe85d
feat: mark active or ancestor links ( #1840 )
2023-10-02 18:22:44 +02:00
Marvin Hagemeister
d638c526f5
fix: partial hash navigation causing loop ( #1838 )
2023-10-02 16:24:09 +02:00
Marvin Hagemeister
665d35bbc2
Add Partials ( #1824 )
2023-09-27 13:34:30 +02:00