Skip to content

Commit 1d28e9e

Browse files
authored
Merge pull request #105 from matt-oakes/mo-links
Add useful content links for 0.60 and 0.61
2 parents 815e74f + f1bd3f1 commit 1d28e9e

File tree

4 files changed

+107
-2
lines changed

4 files changed

+107
-2
lines changed
Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,85 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`renders without crashing 1`] = `<div />`;
3+
exports[`renders without crashing 1`] = `
4+
<div>
5+
<div
6+
class="sc-htpNat cxJeAb"
7+
>
8+
<div
9+
class="sc-bxivhb cnNsuz"
10+
>
11+
<h2>
12+
<span
13+
aria-label="Close useful content section"
14+
class="sc-ifAKCX dQIIsA"
15+
role="img"
16+
>
17+
📣
18+
</span>
19+
Useful content for upgrading
20+
</h2>
21+
<button
22+
class="ant-btn sc-EHOje xNCZY ant-btn-ghost ant-btn-circle ant-btn-icon-only"
23+
type="button"
24+
>
25+
<i
26+
aria-label="icon: close"
27+
class="anticon anticon-close"
28+
>
29+
<svg
30+
aria-hidden="true"
31+
class=""
32+
data-icon="close"
33+
fill="currentColor"
34+
focusable="false"
35+
height="1em"
36+
viewBox="64 64 896 896"
37+
width="1em"
38+
>
39+
<path
40+
d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
41+
/>
42+
</svg>
43+
</i>
44+
</button>
45+
<span>
46+
React Native 0.61 includes Fast Refresh and more.
47+
</span>
48+
<ol
49+
class="sc-gzVnrw emyMmg"
50+
>
51+
<li>
52+
<a
53+
class="sc-bdVaJa dFUFTG"
54+
href="https://facebook.github.io/react-native/blog/2019/09/18/version-0.61"
55+
rel="noopener"
56+
target="_blank"
57+
>
58+
Official blog post about the major changes on React Native 0.61
59+
</a>
60+
</li>
61+
<li>
62+
<a
63+
class="sc-bdVaJa dFUFTG"
64+
href="https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.61/"
65+
rel="noopener"
66+
target="_blank"
67+
>
68+
Tutorial on upgrading to React Native 0.61
69+
</a>
70+
</li>
71+
<li>
72+
<a
73+
class="sc-bdVaJa dFUFTG"
74+
href="https://github.com/react-native-community/releases/blob/master/CHANGELOG.md#061"
75+
rel="noopener"
76+
target="_blank"
77+
>
78+
React Native 0.61 changelog
79+
</a>
80+
</li>
81+
</ol>
82+
</div>
83+
</div>
84+
</div>
85+
`;

src/releases/0.60.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ export default {
1010
'Official blog post about the major changes on React Native 0.60',
1111
url:
1212
'https://facebook.github.io/react-native/blog/2019/07/03/version-60'
13+
},
14+
{
15+
title: 'Tutorial on upgrading to React Native 0.60',
16+
url:
17+
'https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.60/'
1318
}
1419
]
1520
},

src/releases/0.61.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
export default {
2+
usefulContent: {
3+
description: 'React Native 0.61 includes Fast Refresh and more.',
4+
links: [
5+
{
6+
title:
7+
'Official blog post about the major changes on React Native 0.61',
8+
url:
9+
'https://facebook.github.io/react-native/blog/2019/09/18/version-0.61'
10+
},
11+
{
12+
title: 'Tutorial on upgrading to React Native 0.61',
13+
url:
14+
'https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.61/'
15+
}
16+
]
17+
}
18+
}

src/releases/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const versions = ['0.60', '0.59', '0.58', '0.57']
1+
const versions = ['0.61', '0.60', '0.59', '0.58', '0.57']
22

33
export default versions.map(version => ({
44
...require(`./${version}`).default,

0 commit comments

Comments
 (0)