Skip to content

Commit 26165ac

Browse files
docs: sync framework docs from internal repo (#8861)
1 parent a5f9119 commit 26165ac

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed

src/frameworks/docs/angular.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ to Firebase and serve dynamic content to your users.
1515

1616
<<_includes/_preview-disclaimer.md>>
1717

18+
Caution: For developers creating a full-stack Angular app, we strongly
19+
recommend [Firebase App Hosting](/docs/app-hosting/).
20+
If you're already using the frameworks experiment in the Firebase CLI, we
21+
recommend "graduating" to
22+
{{app_hosting}}. With {{app_hosting}}, you'll have a unified solution to manage
23+
everything from CDN to server-side rendering, along with improved GitHub
24+
integration.
25+
1826
<<_includes/_before-you-begin.md>>
1927

2028
- Optional: AngularFire
@@ -55,9 +63,11 @@ To prerender dynamic content in Angular, you need to set up Angular SSR.
5563
ng add @angular/ssr
5664
```
5765

58-
See the [Angular Prerendering (SSG) guide](https://angular.dev/guide/prerendering)
66+
See the [Angular Prerendering (SSG) guide](https://angular.dev/guide/ssr)
5967
for more information.
6068

69+
### Optional: add a server module
70+
6171
#### Deploy
6272

6373
When you deploy with `firebase deploy`, Firebase builds your browser bundle,

src/frameworks/docs/frameworks-overview.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ and Next.js. Using {{firebase_hosting}} and {{cloud_functions_full}} with these
1515
frameworks, you can develop apps and microservices in your preferred framework
1616
environment, and then deploy them in a managed, secure server environment.
1717

18-
Note: Experimental support for Flask and Django is under development, and will be
19-
available soon. To stay up to date on the latest releases, sign up as a
20-
trusted tester at [https://goo.gle/41enW5X](//goo.gle/41enW5X).
21-
2218
Support during this early preview includes the following functionality:
2319

2420
* Deploy Web apps comprised of static web content
@@ -67,6 +63,6 @@ See the [Cloud Functions documentation](https://firebase.google.com/docs/functio
6763
See the detailed guide for your preferred framework:
6864

6965
* [Angular](/docs/hosting/frameworks/angular)
70-
* [Next.js] (/docs/hosting/frameworks/nextjs)
71-
* [Flutter Web] (/docs/hosting/frameworks/flutter)
66+
* [Next.js](/docs/hosting/frameworks/nextjs)
67+
* [Flutter Web](/docs/hosting/frameworks/flutter)
7268
* [Frameworks with Express.js](/docs/hosting/frameworks/express)

src/frameworks/docs/nextjs.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ logic to {{cloud_functions_full}}.
1818

1919
<<_includes/_preview-disclaimer.md>>
2020

21+
Caution: For developers creating a full-stack Next.js app, we strongly
22+
recommend [Firebase App Hosting](/docs/app-hosting/).
23+
If you're already using the frameworks experiment in the Firebase CLI, we
24+
recommend "graduating" to
25+
{{app_hosting}}. With {{app_hosting}}, you'll have a unified solution to manage
26+
everything from CDN to server-side rendering, along with improved GitHub
27+
integration.
28+
2129
<<_includes/_before-you-begin.md>>
2230

2331
- Optional: use the experimental ReactFire library to benefit from its
@@ -26,7 +34,7 @@ logic to {{cloud_functions_full}}.
2634
<<_includes/_initialize-firebase.md>>
2735

2836
1. Answer yes to "Do you want to use a web framework? (experimental)"
29-
1. Choose your hosting source directory. If this an existing Next.js app,
37+
1. Choose your hosting source directory. If this is an existing Next.js app,
3038
the {{cli}} process completes, and you can proceed to the next section.
3139
1. If prompted, choose Next.js.
3240

@@ -45,14 +53,14 @@ on its live site.
4553
## Pre-render dynamic content
4654

4755
The {{firebase_cli}} will detect usage of
48-
[getStaticProps](https://nextjs.org/docs/pages/building-your-application/data-fetching/get-static-props)
56+
[getStaticProps](https://nextjs.org/docs/pages/building-your-application/data-fetching/get-static-props)
4957
and [getStaticPaths](https://nextjs.org/docs/pages/building-your-application/data-fetching/get-static-paths).
5058

5159
### Optional: integrate with the Firebase JS SDK
5260

5361
When including Firebase JS SDK methods in both server and client bundles, guard
5462
against runtime errors by checking `isSupported()` before using the product.
55-
Not all products are
63+
Not all products are
5664
[supported in all environments](/docs/web/environments-js-sdk#other_environments).
5765

5866
Tip: consider using
@@ -69,7 +77,7 @@ and [getStaticPaths](https://nextjs.org/docs/basic-features/data-fetching/get-st
6977

7078
The {{firebase_cli}} will detect usage of
7179
[getServerSideProps](https://nextjs.org/docs/basic-features/data-fetching/get-server-side-props).
72-
In such cases, the {{cli}} will deploy functions to {{cloud_functions_full}} to run dynamic
80+
In such cases, the {{cli}} will deploy functions to {{cloud_functions_full}} to run dynamic
7381
server code. You can view information about these functions, such as their domain and runtime
7482
configuration, in the [Firebase console](https://console.firebase.google.com/project/_/functions).
7583

@@ -87,7 +95,7 @@ interoperate well together.
8795

8896
### Redirects, Rewrites, and Headers
8997

90-
The {{firebase_cli}} respects
98+
The {{firebase_cli}} respects
9199
[redirects](https://nextjs.org/docs/api-reference/next.config.js/redirects),
92100
[rewrites](https://nextjs.org/docs/api-reference/next.config.js/rewrites), and
93101
[headers](https://nextjs.org/docs/api-reference/next.config.js/headers) in

0 commit comments

Comments
 (0)