docs: remove pre-1.0 warning (#293)
This commit is contained in:
@@ -1,27 +1,18 @@
|
||||
> **Warning** Not yet 1.0. Many things are subject to change. Documentation is
|
||||
> lacking in many places. Try it out and give us feedback!
|
||||
|
||||
# fresh
|
||||
|
||||
<img align="right" src="./www/static/logo.svg" height="150px" alt="the fresh logo: a sliced lemon dripping with juice">
|
||||
|
||||
The next-gen web framework.
|
||||
|
||||
Fresh is a web framework that lets you build projects very fast, highly dynamic,
|
||||
and without the need of a build step. Fresh embraces isomorphic JavaScript like
|
||||
never before. Write a JSX component, have it render on the edge just-in-time,
|
||||
and then enhance it with client side JS for great interactivity.
|
||||
Fresh is a next generation web framework, built for speed, reliability, and
|
||||
simplicity. Some stand out features:
|
||||
|
||||
Fresh does not have a build step - you write your code, deploy it to
|
||||
[Deno Deploy](https://deno.com/deploy), and from there everything is handled by
|
||||
the framework.
|
||||
|
||||
- No build step
|
||||
- Zero config necessary
|
||||
- JIT rendering on the edge
|
||||
- Tiny (example is 0-3KB of runtime JS)<sup>1</sup>
|
||||
- Optional client side hydration
|
||||
- TypeScript out of the box
|
||||
- Just-in-time rendering on the edge.
|
||||
- Island based client hydration for maximum interactivity.
|
||||
- Zero runtime overhead: no JS is shipped to the client by default.
|
||||
- No build step.
|
||||
- No configuration necessary.
|
||||
- TypeScript support out of the box.
|
||||
- File-system routing à la Next.js
|
||||
|
||||
## Documentation
|
||||
@@ -45,8 +36,8 @@ deno task start
|
||||
```
|
||||
|
||||
To deploy the script to [Deno Deploy](https://deno.com/deploy), push your
|
||||
project to GitHub, create a Fresh project, and link it to **`main.ts`** file in
|
||||
the created repository.
|
||||
project to GitHub, [create a Deno Deploy project](https://dash.deno.com/new),
|
||||
and link it to the **`main.ts`** file in the root of the created repository.
|
||||
|
||||
For a more in-depth getting started guide, visit the
|
||||
[Getting Started](https://fresh.deno.dev/docs/getting-started) page in the Fresh
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/** @jsx h */
|
||||
import { h } from "preact";
|
||||
import { tw } from "@twind";
|
||||
|
||||
export default function WarningBanner() {
|
||||
const warning = tw`bg-yellow-100 border(1 yellow-200) p-4 mb-4`;
|
||||
return (
|
||||
<div class={warning}>
|
||||
⚠️ Do not use Fresh for production usecases yet, unless you are very
|
||||
actively tracking the Fresh repository for updates. The framework is still
|
||||
undergoing very frequent core functionality changes. You can expect a
|
||||
mostly stable release very soon.
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -9,7 +9,6 @@ import { frontMatter, gfm } from "../../utils/markdown.ts";
|
||||
import DocsSidebar from "../../components/DocsSidebar.tsx";
|
||||
import Footer from "../../components/Footer.tsx";
|
||||
import NavigationBar from "../../components/NavigationBar.tsx";
|
||||
import WarningBanner from "../../components/WarningBanner.tsx";
|
||||
import {
|
||||
SLUGS,
|
||||
TABLE_OF_CONTENTS,
|
||||
@@ -213,7 +212,6 @@ function Content(props: { page: Page }) {
|
||||
const html = gfm.render(props.page.markdown);
|
||||
return (
|
||||
<main class={main}>
|
||||
<WarningBanner />
|
||||
<h1 class={title}>{props.page.title}</h1>
|
||||
<div
|
||||
class={`${body} markdown-body`}
|
||||
|
||||
@@ -7,7 +7,6 @@ import { tw } from "@twind";
|
||||
import Counter from "../islands/Counter.tsx";
|
||||
import LemonDrop from "../islands/LemonDrop.tsx";
|
||||
import Footer from "../components/Footer.tsx";
|
||||
import WarningBanner from "../components/WarningBanner.tsx";
|
||||
import { Leaf } from "../components/Icons.tsx";
|
||||
import VERSIONS from "../../versions.json" assert { type: "json" };
|
||||
|
||||
@@ -159,7 +158,6 @@ function GettingStarted(props: { origin: string }) {
|
||||
Getting started
|
||||
</a>
|
||||
</h2>
|
||||
<WarningBanner />
|
||||
<p class={tw`text-gray-600`}>
|
||||
To get started, make sure you have the{" "}
|
||||
<a href="https://deno.land" class={tw`text-blue-600 hover:underline`}>
|
||||
|
||||
Reference in New Issue
Block a user