summaryrefslogtreecommitdiff
path: root/packages/integrations/react/server.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-11-16Add compatibility with cloudflare node (#8925)Gravatar brandonsdebt 1-1/+1
2023-10-24Fix client hydration in experimentalReactChildren (#8898)Gravatar Matthew Phillips 1-0/+1
* Fix client hydration in experimentalReactChildren * Add tests * Add a changeset * Use recursion instead of walking * getChildren -> swap order --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-16[ci] formatGravatar matthewp 1-1/+1
2023-08-16Add experimentalReactChildren option to React integration (#8082)Gravatar Matthew Phillips 1-1/+5
* wip: support true react vnodes in renderer * Add new experimentalReactChildren option to React integration * Update the test * Add docs * Update packages/integrations/react/server.js Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update with a better test * Update .changeset/yellow-snakes-jam.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/react/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/integrations/react/README.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-07-03feat: use typescript-eslint@v6's reworked configs (#7425)Gravatar Josh Goldberg ✨ 1-3/+2
2023-05-17[ci] formatGravatar matthewp 1-2/+2
2023-05-17Prevent removal of nested slots within islands (#7093)Gravatar Matthew Phillips 1-2/+15
* Prevent removal of nested slots within islands * Fix build errors
2023-05-04[ci] formatGravatar ematipico 1-3/+3
2023-05-04Generate unique ids within each React island (#6976)Gravatar Robin Neal 1-10/+21
2023-01-25Support passing `children` as props to a React component (#5886)Gravatar HiDeoo 1-2/+3
2022-10-27remove unnecessary `ReactDOM.renderToString` operation (#5218)Gravatar Happydev 1-1/+0
* remove useless `ReactDOM.renderToString` operation * chore: add changeset
2022-09-20[ci] formatGravatar matthewp 1-1/+1
2022-09-20Prevent errors in React components from crashing the dev server (#4816)Gravatar Matthew Phillips 1-1/+4
* Prevent errors in React components from crashing the dev server * Add a changeset * Fix test when running in the build
2022-09-14[ci] formatGravatar matthewp 1-1/+1
2022-09-14Only pass through children prop if there are children (#4756)Gravatar Matthew Phillips 1-1/+3
2022-09-08[ci] formatGravatar matthewp 1-11/+9
2022-09-08Make React integration work with Deno (#4679)Gravatar Matthew Phillips 1-4/+11
* Remove removed packages folder * fix * Add a changeset
2022-09-07Fix component frameworks on Vercel Edge (#4667)Gravatar Benjamin Holmes 1-7/+20
* fix: use while instead of "for await" in react integration * fix: cast HTML to string to fix other integrations * docs: add comment on encode(String(html)) * chore: changeset Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-08-30Vite ignore unknown import (#4527)Gravatar Bjorn Lu 1-1/+1
2022-06-23[ci] formatGravatar natemoo-re 1-3/+3
2022-06-23Enable named slots in renderers (#3652)Gravatar Nate Moore 1-3/+12
* feat: pass all slots to renderers * refactor: pass `slots` as top-level props * test: add named slot test for frameworks * fix: nested hydration, slots that are not initially rendered * test: add nested-recursive e2e test * fix: render unmatched custom element children * chore: update lockfile * fix: unrendered slots for client:only * fix(lit): ensure lit integration uses new slots API * chore: add changeset * chore: add changesets * fix: lit slots * feat: convert dash-case or snake_case slots to camelCase for JSX * feat: remove tmpl special logic * test: add slot components-in-markdown test * refactor: prefer Object.entries.map() to for/of loop Co-authored-by: Nate Moore <nate@astro.build>
2022-04-21[ci] formatGravatar matthewp 1-23/+26
2022-04-21Fixes using React.lazy and Suspense (#3160)Gravatar Matthew Phillips 1-4/+72
* Revert "Revert "Fixes using React.lazy and Suspense"" This reverts commit e621c2f7d3844e950168f4198e4dd1c6f43031d0. * Adds a changeset * Fix ts errors * Remove netlify metadata folder
2022-04-20Revert "Fixes using React.lazy and Suspense"Gravatar Matthew Phillips 1-72/+4
This reverts commit 700d4f9649b72e98a56586a480e6d3c413cf45f1.
2022-04-20Fixes using React.lazy and SuspenseGravatar unknown 1-4/+72
2022-04-02update prettier width (#2968)Gravatar Fred K. Schott 1-1/+5
2022-03-31Add support for React 18 in @astrojs/react (#2947)Gravatar Fred K. Schott 1-1/+1
* First pass at supporting React 18 in @astrojs/react * Try marking React 18’s `react-dom/client` as external * Try a different approach to importing different React versions * Allow resolving JSON modules * Revert "Allow resolving JSON modules" This reverts commit 5279b7249c52b20fd74fe48f9f1047c9b3a117dc. * Try the separate client entrypoint approach from #2946 * Clean up diff * Trying to see something * Just keep swimming… 🐠 * update to support react 18 * add changeset * add docs Co-authored-by: delucis <swithinbank@gmail.com>
2022-03-18Astro Integration System (#2820)Gravatar Fred K. Schott 1-0/+67
* update examples * add initial integrations * update tests * update astro * update ci * get final tests working * update injectelement todo * update ben code review * respond to final code review feedback