Skip to content

Commit 9894e16

Browse files
committed
Add react typescript practise folder
1 parent c407a6f commit 9894e16

File tree

22 files changed

+12594
-2
lines changed

22 files changed

+12594
-2
lines changed

redux-saga-example/src/App.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ const DisplayProfile = () => {
77
const userData = useSelector(state => state.user);
88
const dispatch = useDispatch();
99

10-
console.log(userData, "in componenet");
11-
1210
useEffect(() => {
1311
dispatch({
1412
type: "GET_USER_DATA",

robofriends-typescript/.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*

robofriends-typescript/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# robofriends-ts
2+
Udemy tutorial - adding TypeScript to a react app
3+
4+
To run the project:
5+
6+
1. Clone this repo
7+
2. Run `npm install`
8+
3. Run `npm start`
9+
4. Start adding types!

0 commit comments

Comments
 (0)