summaryrefslogtreecommitdiff
path: root/src/compiler/codegen (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-04-19Fix dynamic React components (#111)Gravatar Matthew Phillips 1-6/+6
Another change in snowpack@3 caused this bug. It's not actually a bug in snowpack. Previously snowpack was keeping its list of installed packages in a global cache. In 3.3 it stopped doing so. We were accidentally relying on that global cache to be able to resolve dynamic components. This fixes it so that we use the frontend snowpack instance to resolve dynamic components. Doing so means they are available when we try to load them.
2021-04-15Support children inside of components (#72)Gravatar Nate Moore 1-0/+3
* chore(examples): add kitchen-sink * feat: support children in rendered components * feat: add support for rendering children in Svelte * fix: cleanup p/react fragment children * chore: add @ts-nocheck to svelte files * chore: update lockfiles * fix: types * feat: memoize frontend/renderer/utils * fix: disable eslint for compiled SvelteWrapper * fix: add missing dep Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-13Add Astro.fetchContent API (#91)Gravatar Drew Powers 3-14/+33
2021-04-12Renaming to import.meta.fetchContent (#70)Gravatar Drew Powers 3-0/+754
* Change to import.meta.glob() Change of plans—maintain parity with Snowpack and Vite because our Collections API will use a different interface * Get basic pagination working * Get params working * Rename to import.meta.fetchContent * Upgrade to fdir