Commit Graph

61 Commits

Author SHA1 Message Date
Michael Brevard
bf131a2173
docs: hydration event callback example 2024-09-14 21:54:02 +03:00
Michael Brevard
1ad62a16f5
docs: add custom strategies example via LazyIf 2024-09-14 16:57:14 +03:00
Michael Brevard
6f1757700c
docs: rephrase caveats and best practices 2024-09-14 16:40:56 +03:00
tbitw2549
fe9b2b96f5 feat: time and promise based delayed hydration 2024-09-14 14:01:50 +03:00
tbitw2549
fb6d4a518a refactor: avoid conflicting renders
This refactors SSR handling with the existing approach, given the SSR limitation of establishing rendering separation.

This also simplifies SSR renders using the same data and adds early returns wherever possible to internally minimize delayed hydration dependency
2024-09-13 12:04:49 +03:00
tbitw2549
e304d6c367 feat: support condition, media query, and never
This adds 3 more types of hydration to cover most of the use cases.
2024-08-25 13:53:29 +03:00
Michael Brevard
309726060c
docs: fix createIdleLoader usage example 2024-08-20 14:03:00 +03:00
Michael Brevard
2df3351048
Merge branch 'main' into patch-21 2024-07-12 14:01:28 +03:00
Julien Huang
f8963f1dfe
docs: warn about nested islands (#28062) 2024-07-11 12:56:46 +01:00
tbitw2549
70789a0631 chore: rename loader to hydrate 2024-06-22 00:20:01 +03:00
Michael Brevard
9cbdbc7814
chore: better wording 2024-06-20 09:47:25 +03:00
Michael Brevard
d80c5562b7
docs: provide clearer separation between Lazy and DH 2024-06-20 09:45:13 +03:00
Michael Brevard
5cb4e41553
docs: rephrase 2024-06-19 12:08:39 +03:00
Michael Brevard
b36d0b484e
docs: fix space and link 2024-06-18 00:24:15 +03:00
Michael Brevard
bfb875e1fe
docs: remove warning, add modifier conflicting component info 2024-06-18 00:22:48 +03:00
Michael Brevard
022b836cdc
docs: update experimental config key 2024-06-17 17:18:49 +03:00
tbitw2549
76f2f5dc4a docs: add reference to event-based lazy loading 2024-06-15 01:10:20 +03:00
tbitw2549
1cb243ed08 feat: auto-import loaders and update docs 2024-06-14 23:27:22 +03:00
Michael Brevard
6be28279f1
docs: fix case 2024-06-10 11:56:41 +03:00
autofix-ci[bot]
e0a2f219db
[autofix.ci] apply automated fixes 2024-06-03 06:36:24 +00:00
Michael Brevard
a53c5897a1
docs: add docs for delayed hydration 2024-06-03 09:35:49 +03:00
@beer
790e098bf7
docs: capitalize text (#27348) 2024-05-28 07:30:08 +02:00
Julien Huang
09e53fc6d9
docs: warn about single root element for server components (#26462) 2024-03-25 10:27:20 +00:00
Turdalin Nurassyl
ac54031511
docs: mention <DevOnly> component in api section (#26029) 2024-03-18 15:17:20 +00:00
Julien Huang
6d93014c52
feat(nuxt): allow using nuxt-client in all components (#25479) 2024-03-06 15:26:19 +00:00
Julien Huang
e890c9a64b
docs: mention island features are SFC only (#26013) 2024-03-02 10:24:56 +01:00
Florent Delerue
7213b2ddac
docs: replace callout to new components (#25897) 2024-02-21 18:09:45 +01:00
Anthony Fu
f42045746f
docs: enable more blocks for twoslash (#25830) 2024-02-16 20:31:15 +00:00
Mahdi Shah Abbasian
b40e9dc3c7
docs: <script setup> changed to <script setup lang="ts"> (#25750) 2024-02-13 12:50:38 +00:00
Anthony Fu
3c271413f8
docs: enable twoslash for some code snippets (#25679) 2024-02-07 16:18:48 +00:00
Julien Huang
ca060288e6
docs: warn that island client components don't support slots (#25454) 2024-01-27 22:12:42 +00:00
chris-basebone
f310dd1e2d
docs: mention .global.vue filename for global components (#25144) 2024-01-16 11:21:49 +00:00
Julien Huang
1b93e604d3
feat(nuxt): allow client components within NuxtIsland (#22649) 2023-12-19 12:21:29 +00:00
Joe Hawes
c9b7dcfc41
docs: typos and wording tweaks for guide section (#24323) 2023-11-16 14:23:59 +00:00
Matej Černý
5a6dfd8847
docs: add example of auto-importing components from npm package (#23792) 2023-10-19 21:21:52 +01:00
Sébastien Chopin
f26a801775
docs: update to new website (#23743)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-18 12:59:43 +02:00
Julien Huang
24b629e82e
fix(nuxt): skip hydration mismatches with client components (#19231) 2023-10-16 14:09:54 +01:00
Mostafa Said
d0511a2901
docs: fix component library example in docs (#23596) 2023-10-10 13:09:06 +01:00
Ezra Adeyinka
8db82af3a9
chore: fix various typos and update to US English (#23580) 2023-10-10 12:14:55 +01:00
Julien Huang
5390ca4321
docs: add information about server component context (#22964) 2023-09-05 11:29:28 +01:00
Julien Huang
09971c62a0
docs: mention NuxtIsland in server only components docs (#22685) 2023-08-19 16:37:12 +02:00
JD Solanki
fc7bbe9223
docs: improve custom component dirs example (#22697) 2023-08-18 16:22:45 +02:00
Julien Huang
6c517e919c
docs: mention #components import for dynamic component (#22231) 2023-07-20 10:55:11 +01:00
Mahdi Shah Abbasian
bea6ed1d9c
docs: standardize indentation and tag positioning (#22157) 2023-07-18 11:31:45 +01:00
Jianqi Pan
b49e5f420c
docs: add more internal links (#22013) 2023-07-07 17:24:09 +01:00
Daniel Roe
d4af237685
docs: update example links (#21811) 2023-06-27 12:27:11 +01:00
Anthony Fu
1a7aa1b043
docs: remove irregular spaces (#21380) 2023-06-05 16:03:06 +01:00
Julien Huang
70c5ec86d2
feat(nuxt): full scoped slots support for server components (#20284) 2023-05-15 23:43:53 +01:00
Inesh Bose
1f30cf18e3
fix(nuxt): get fallback for <DevOnly> from parsed html (#20840) 2023-05-15 13:33:46 +01:00
Inesh Bose
d077c10c41
feat(nuxt): allow fallback production content in <DevOnly> (#20817) 2023-05-13 23:32:31 +01:00