Marvin Hagemeister
f9f3cd82ee
feat: error if stateful hook is used outside of islands ( #1778 )
2023-09-18 16:25:37 +02:00
e01ef2d8a0
feat(dev): Ignore common test files in routes and islands ( #1039 )
...
Co-authored-by: Marvin Hagemeister <marvinhagemeister50@gmail.com >
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-09-11 16:05:55 +02:00
Marvin Hagemeister
63c90ddc67
fix: wrong type for html boolean attrs ( #1731 )
2023-09-05 01:00:33 +02:00
Marvin Hagemeister
f67ec8520f
fix: render state not unique per render ( #1638 )
2023-08-16 16:30:16 +02:00
Lino Le Van
5ba19abe13
fix: typos ( #1526 )
2023-07-26 13:09:42 +00:00
Marvin Hagemeister
71c0434f46
fix: allow string based event handlers in SSR ( #1515 )
2023-07-25 15:32:58 +02:00
Reed von Redwitz
a3f7c212f4
feat(server): multiple island exports ( #1397 )
2023-07-03 09:59:38 +02:00
Reed von Redwitz and Lino Le Van
eb53d53ab8
fix(server): properly sanitize island names ( #1393 )
...
Co-authored-by: Lino Le Van <11367844+lino-levan@users.noreply.github.com >
2023-07-03 02:08:47 +02:00
Asher Gomez
8fa4141e06
refactor: replace useState() with useSignal() ( #1234 )
2023-06-02 06:43:01 +10:00
Asher Gomez
b5532aeb69
feat: island sub-directories ( #1185 )
2023-05-31 05:29:56 +10:00
azerum
1a456444e4
add test case covering islands that return null ( #1203 )
...
Just a small addition to my previous PR. It wasn't obvious for me that
PR #1172 also fixed #1129 . I guess that issue should be covered by a
separate test
2023-05-25 09:40:49 +10:00
azerum and Asher Gomez
7d23ed5984
fix: conditionally rendered element under fragment in island does not render ( #1172 )
...
This might be fixing #502 , but I am not sure. All tests pass. I've added
additional test cases for comments from #502
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com >
2023-05-23 12:24:05 +10:00
Luca Casonato
b12867a582
feat: support JSX automatic mode ( #610 )
...
This commit adds support for JSX automatic mode instead of the default
mode that requires the presence of the JSX pragma in each file.
This commit also adds the config file to the `fresh.gen.ts` manifest,
which is used to determine if the client emit should use automatic mode.
The minimum Deno version has also been bumped to 1.25.0.
2022-08-26 11:03:00 +02:00
Stephen Delaney
a7b198fdf4
feat: support kebab-case filenames for islands ( #404 )
2022-07-06 12:42:25 +02:00
Luca Casonato
cbbf616a74
chore: version preact explicitly in import map ( #258 )
...
This allows users to control the `preact` version independently of fresh
itself.
2022-06-20 12:37:24 +02:00
Sylvain Cau and Luca Casonato
afafb7c938
fix: reviving multiple islands on one page ( #197 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev >
2022-06-07 15:02:48 +02:00
Luca Casonato
80598d07fd
feat: use import maps instead of deps files ( #209 )
...
This commit updates fresh to use import maps instead of deps files in generated projects.
2022-05-23 19:35:15 +02:00
Luca Casonato
fd6724c050
chore: rename *_deps.ts -> deps.*.ts ( #206 )
...
As per David's suggestion.
2022-05-23 16:05:33 +02:00
Sylvain Cau
e8b1e229b3
feat: automatically apply asset caching to img src and srcset ( #184 )
2022-05-19 19:19:59 +02:00
Sylvain Cau
6cbcc27646
feat: add support for static asset caching ( #133 )
2022-03-16 16:49:47 +01:00
Luca Casonato
8daa280862
feat: a new "island" based architechture ( #97 )
2022-03-04 19:49:27 +01:00