Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f81f45

Browse files
committed
Steps
1 parentd8199c3 commit7f81f45

11 files changed

+51
-25
lines changed

‎packages/widgets-example/demo-hero-steps.json‎

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,38 @@
22
{
33
"title":"Install new dependencies",
44
"sourceFile":"package.json",
5-
"replaceTextOrFile":"demosteps\\package.json",
5+
"replaceTextOrFile":"demosteps\\01package.json",
66
"selectionRange": [12,0,15,999]
77
},
8+
{
9+
"title":"Define Hacker News module",
10+
"sourceFile":"src\\widgets\\hacker-news\\redux\\02 hacker-news-module.js",
11+
"replaceTextOrFile":"demosteps\\hacker-news-module.js"
12+
},
13+
{
14+
"title":"Open index.js to connect News component to module",
15+
"sourceFile":"src\\widgets\\hacker-news\\index.js"
16+
},
17+
{
18+
"title":"Add imports to connect News component to module",
19+
"sourceFile":"src\\widgets\\hacker-news\\index.js",
20+
"replaceTextOrFile":"demosteps\\03 hacker-news-index-imports.js",
21+
"selectionRange": [2,0,4,999]
22+
},
23+
{
24+
"title":"Connect Hacker News component to module",
25+
"sourceFile":"src\\widgets\\hacker-news\\index.js",
26+
"replaceTextOrFile":"demosteps\\04 hacker-news-index.js",
27+
"selectionRange": [6,0,19,999]
28+
},
829
{
930
"title":"Create Weather module",
1031
"sourceFile":"src\\widgets\\weather\\redux\\weather-module.js"
1132
},
1233
{
1334
"title":"Define Weather module",
1435
"sourceFile":"src\\widgets\\weather\\redux\\weather-module.js",
15-
"replaceTextOrFile":"demosteps\\weather-module.js"
36+
"replaceTextOrFile":"demosteps\\05weather-module.js"
1637
},
1738
{
1839
"title":"Open Index.js to Connect Weather Component to module",
@@ -21,36 +42,15 @@
2142
{
2243
"title":"Add imports Weather Component to module",
2344
"sourceFile":"src\\widgets\\weather\\index.js",
24-
"replaceTextOrFile":"demosteps\\weather-index-imports.js",
45+
"replaceTextOrFile":"demosteps\\06weather-index-imports.js",
2546
"selectionRange": [1,0,5,999]
2647
},
2748
{
2849
"title":"Connect Weather Component to module",
2950
"sourceFile":"src\\widgets\\weather\\index.js",
30-
"replaceTextOrFile":"demosteps\\weather-index.js",
51+
"replaceTextOrFile":"demosteps\\07weather-index.js",
3152
"selectionRange": [6,12]
3253
},
33-
{
34-
"title":"Define Hacker News module",
35-
"sourceFile":"src\\widgets\\hacker-news\\redux\\hacker-news-module.js",
36-
"replaceTextOrFile":"demosteps\\hacker-news-module.js"
37-
},
38-
{
39-
"title":"Open index.js to connect News component to module",
40-
"sourceFile":"src\\widgets\\hacker-news\\index.js"
41-
},
42-
{
43-
"title":"Add imports to connect News component to module",
44-
"sourceFile":"src\\widgets\\hacker-news\\index.js",
45-
"replaceTextOrFile":"demosteps\\hacker-news-index-imports.js",
46-
"selectionRange": [2,0,4,999]
47-
},
48-
{
49-
"title":"Connect Hacker News component to module",
50-
"sourceFile":"src\\widgets\\hacker-news\\index.js",
51-
"replaceTextOrFile":"demosteps\\hacker-news-index.js",
52-
"selectionRange": [6,0,19,999]
53-
},
5454
{
5555
"title":"Open App.js",
5656
"sourceFile":"src\\App.js"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import{hackerNewsReducer}from"./hacker-news-reducer";
2+
import{fetchStories}from"./hacker-news-actions";
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// configureStore allows us to load/unload modules dynamically.
2+
import{configureStore}from"redux-dynamic-modules";
3+
// Saga extension allows us to use Saga middleware in the module store.
4+
import{getSagaExtension}from"redux-dynamic-modules-saga";
5+
// Thunk extension allows us to use Thunk middleware in the module store.
6+
import{getThunkExtension}from"redux-dynamic-modules-thunk";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp