Skip to content

Commit b98f80d

Browse files
committed
Changed old 'views' folder reference with new 'pages' one
1 parent 89c5053 commit b98f80d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ You can update the `styles/index.scss` or create new `.scss` files inside `style
1111
### Components
1212
Add more files into your `./src/js/components` or styles folder as you need them and import them into your current files as needed.
1313

14-
💡Note: There is an example using the Context API inside `views/demo.js`;
14+
💡Note: There is an example using the Context API inside `pages/demo.js`;
1515

16-
### Views (Components)
17-
Add more files into your `./src/js/views` and import them in `./src/js/layout.jsx`.
16+
### pages (Components)
17+
Add more files into your `./src/js/pages` and import them in `./src/js/layout.jsx`.
1818

1919
### Context
2020
This boilerplate comes with a centralized general Context API. The file `./src/js/store/flux.js` has a base structure for the store, we encourage you to change it and adapt it to your needs.
2121

2222
React Context [docs](https://reactjs.org/docs/context.html)
2323
BreathCode Lesson [view](https://content.breatheco.de/lesson/react-hooks-explained)
2424

25-
The `Provider` is already set. You can consume from any component using the useContext hook to get the `store` and `actions` from the Context. Check `/views/demo.js` to see a demo.
25+
The `Provider` is already set. You can consume from any component using the useContext hook to get the `store` and `actions` from the Context. Check `/pages/demo.js` to see a demo.
2626

2727
```jsx
2828
import { Context } from "../store/appContext";

0 commit comments

Comments
 (0)