Skip to content

Commit

Permalink
feat(gatsby): Slices <> partial hydration interop (#36960)
Browse files Browse the repository at this point in the history
* Add use client directive to slice placeholder

* DRY loader

* Remove either-or condition

* Adjust conditional logic

* Add slice providers to tree

* Do not remove slice dependency blocks from bundle

Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>

* skip indirection when importing static query context

* collect static queries from slices when rendering rsc

Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
  • Loading branch information
tyhopp and pieh committed Nov 4, 2022
1 parent 0083e62 commit e2a14bf
Show file tree
Hide file tree
Showing 6 changed files with 208 additions and 272 deletions.

0 comments on commit e2a14bf

Please sign in to comment.