The web framework that scales with you — Build fast content sites, powerful web applications, dynamic server APIs, and everything in-between ️ Star to support our work!
Find a file
Tony Sullivan 1971ab3c60
Add support for client:only hydrator (#935)
* Adding support for client:only hydration

* Adding documentation for client:only

* Adding changeset

* Updating the test to use a browser-only API

* Adding a browser-specific import script, this reproduces the issue where client:only imports must be removed

* typo fix

* removing mispelled test component

* WIP: delaying inclusion of component imports until the hydration method is known

* WIP: tweaking the test to use window instead of document

* When only one renderer is included, use that for client:only hydration

* temporary test script snuck into the last commit

* WIP: adding check for a client:only renderer hint

* refactor: Remove client:only components instead of delaying all component import statements

* Updating the changeset and docs for the renderer hint

* refactor: pull client:only render matching out to it's own function

* Updating renderer hinting to match full name, with shorthand for internal renderers

Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-08-17 13:44:56 -04:00
.changeset Add support for client:only hydrator (#935) 2021-08-17 13:44:56 -04:00
.github restrict smoke test to ubuntu@node14 2021-08-12 01:41:54 -07:00
.vscode Fix GoToDefinition for component imports (and component usage) (#1045) 2021-08-09 12:03:32 -04:00
assets fix: brand color 2021-05-16 10:06:12 -05:00
docs Add support for client:only hydrator (#935) 2021-08-17 13:44:56 -04:00
examples cleanup example favicons 2021-08-16 14:34:08 -07:00
packages Add support for client:only hydrator (#935) 2021-08-17 13:44:56 -04:00
scripts fix bad build script (#781) 2021-07-20 14:52:44 -07:00
tools [ci] yarn format 2021-08-12 23:40:39 +00:00
www cleanup example favicons 2021-08-16 14:34:08 -07:00
.editorconfig Adds .editorconfig file (#162) 2021-05-03 12:41:39 -05:00
.eslintignore Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
.eslintrc.cjs Prettier support for .astro files (#106) 2021-04-21 11:14:44 -05:00
.gitignore Docs/fix sitesidebar template (#778) 2021-07-20 15:56:45 -05:00
.nvmrc set node version in nvmrc & engines to lts (#87) 2021-04-13 13:03:26 -04:00
.prettierignore Skip running format in .github/.changeset folder (#860) 2021-07-26 12:04:12 -04:00
.prettierrc.json Annoying Lint PR™ (#3) 2021-03-16 12:37:45 -06:00
CODE_OF_CONDUCT.md [ci] yarn format 2021-06-24 00:27:22 +00:00
CONTRIBUTING.md [ci] yarn format 2021-08-15 19:12:55 +00:00
GOVERNANCE.md Clarify the L2 voting process (#1079) 2021-08-14 11:53:55 -07:00
lerna.json Format (#167) 2021-05-03 12:26:10 -06:00
LICENSE redesign create-astro (#301) 2021-06-08 11:10:56 -04:00
package.json fix: language server 2021-08-11 15:35:32 -05:00
README.md Add README to packages/astro (#313) 2021-06-07 17:38:22 -05:00
tsconfig.base.json Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
yarn.lock make routing fixes from discord feedback (#1091) 2021-08-12 01:35:28 -07:00

Astro is a fresh but familiar approach to building websites. Astro combines decades of proven performance best practices with the DX improvements of the component-oriented era. Use your favorite JavaScript framework and automatically ship the bare-minimum amount of JavaScript—by default.

Announcement Post →

Full Documentation Site →

Project Status

⚠️ Astro is still an early beta, missing features and bugs are to be expected! If you can stomach it, then Astro-built sites are production ready and several production websites built with Astro already exist in the wild. We will update this note once we get closer to a stable, v1.0 release.

Quick Start

# get started with astro in 3 easy steps:
mkdir new-project-directory
cd new-project-directory
npm init astro

Full Documentation Site →