Skip to content

Commit 1c0e1de

Browse files
committed
How does this look on Github?
1 parent 50cae6c commit 1c0e1de

File tree

1 file changed

+83
-6
lines changed

1 file changed

+83
-6
lines changed

docs/version-7-upgrade.md

+83-6
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,16 @@ AngularFire no longer provides observables and functions as class methods, evert
8080
<thead>
8181
<tr>
8282
<th colspan="2">v6 / Compat</th>
83-
<th>v7 Modular</th>
83+
<th >v7 Modular</th>
8484
</tr>
8585
</thead>
8686
<tbody>
8787
<tr>
88-
<td rowspan="3">AngularFirestore</td>
89-
<td>collection</td>
88+
<td rowspan="3">
89+
<h4>AngularFirestore</h4>
90+
<p><small>Since we no longer inject our own class (and to better support tree-shaking) use the JS SDK methods to get docs/collections.</small></p>
91+
</td>
92+
<td>doc</td>
9093
<td>
9194

9295
```ts
@@ -95,12 +98,86 @@ import { doc } from 'firebase/firestore'
9598
</td>
9699
</tr>
97100
<tr>
98-
<td>doc</td>
99-
<td><code>import { doc } from 'firebase/firestore'</code></td>
101+
<td>collection</td>
102+
<td>
103+
104+
```ts
105+
import { collection } from 'firebase/firestore'
106+
```
107+
</td>
100108
</tr>
101109
<tr>
102110
<td>collectionGroup</td>
103-
<td><code>import { doc } from 'firebase/firestore'</code></td>
111+
<td>
112+
113+
```ts
114+
import { collectionGroup } from 'firebase/firestore'
115+
```
116+
</td>
117+
</tr>
118+
<tr>
119+
<th rowspan="7">AngularFirestoreDocument</th>
120+
<td>a</td>
121+
<td>
122+
123+
```ts
124+
import { collectionGroup } from 'firebase/firestore'
125+
```
126+
</td>
127+
</tr>
128+
<tr>
129+
<td>a</td>
130+
<td>
131+
132+
```ts
133+
import { collectionGroup } from 'firebase/firestore'
134+
```
135+
</td>
136+
</tr>
137+
<tr>
138+
<td>a</td>
139+
<td>
140+
141+
```ts
142+
import { collectionGroup } from 'firebase/firestore'
143+
```
144+
</td>
145+
</tr>
146+
<tr>
147+
<td>a</td>
148+
<td>
149+
150+
```ts
151+
import { collectionGroup } from 'firebase/firestore'
152+
```
153+
</td>
154+
</tr>
155+
<tr>
156+
<td>a</td>
157+
<td>
158+
159+
```ts
160+
import { collectionGroup } from 'firebase/firestore'
161+
```
162+
</td>
163+
</tr>
164+
<tr>
165+
<td>a</td>
166+
<td>
167+
168+
```ts
169+
import { collectionGroup } from 'firebase/firestore'
170+
```
171+
</td>
172+
</tr>
173+
<tr>
174+
<td>a</td>
175+
<td>
176+
177+
```ts
178+
import { collectionGroup } from 'firebase/firestore'
179+
```
180+
</td>
104181
</tr>
105182
</tbody>
106183
</table>

0 commit comments

Comments
 (0)