summaryrefslogtreecommitdiff
path: root/src/frontend/render/react.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-04-30Migrate to `yarn` monorepo (#157)Gravatar Nate Moore 1-29/+0
* chore: use monorepo * chore: scaffold astro-scripts * chore: move tests inside packages/astro * chore: refactor tests, add scripts * chore: move parser to own module * chore: move runtime to packages/astro * fix: move parser to own package * test: fix prettier-plugin-astro tests * fix: tests * chore: update package-lock * chore: add changesets * fix: cleanup examples * fix: starter example * chore: update changeset config * chore: update changeset config * chore: setup changeset release workflow * chore: bump lockfiles * chore: prism => astro-prism * fix: tsc --emitDeclarationOnly * chore: final cleanup, switch to yarn * chore: add lerna * chore: update workflows to yarn * chore: update workflows * chore: remove lint workflow * chore: add astro-dev script * chore: add symlinked README
2021-04-15[ci] npm run formatGravatar natemoo-re 1-1/+1
2021-04-15Support children inside of components (#72)Gravatar Nate Moore 1-3/+8
* 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-09Improve renderer types (#69)Gravatar Matthew Phillips 1-2/+2
* Improve renderer types Looking at the render code I noticed that the Component rendering is not typed. This adds that, might help prevent a bug in the future. * Create the supported renderer type
2021-04-02Add type declarations (#59)Gravatar Drew Powers 1-2/+3
2021-04-02Fix React import (#55)Gravatar Drew Powers 1-2/+2
* Fix React import * Change default export * Fix :visible dynamic component * Use colon to alias vue createElement Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-04-02Get CSS Modules working in Vue (#53)Gravatar Drew Powers 1-1/+1
2021-03-26New hydration methods (#29)Gravatar Nate Moore 1-17/+18
* WIP: new hydration methods * refactor: genericize load/idle/visible renderers * fix: do not pass "data-astro-id" to component * docs: add hydration section to README * docs: update README Co-authored-by: Nate Moore <nate@skypack.dev>
2021-03-24Redesign pages, remove layout nesting (#24)Gravatar Fred K. Schott 1-7/+1
* wip * new svelte-style prop declaration is working * got it working! * revert h changes * format * style lang update
2021-03-23Add support for React components. (#18)Gravatar Matthew Phillips 1-0/+28
* Add support for React components. This adds support for react components via a new `extensions` config in astro.config.mjs. In the future we can extend this to do things like look at the import statements, as Snowpack does. * Fix the tests