setup react & show weather forecasts in react #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
--Added React------------------------------------------------------------------------------
FaceBuk> npx create-react-app client-app --use-npm --typescript
FaceBuk> cd client-app
FaceBuk\client-app> npm start
added images.d.ts file next to tsconfig.json tos support image types in ts files
declare module '.svg'
declare module '.png'
declare module '*.jpg'
FaceBuk\client-app> npm install axios
![image](https://user-images.githubusercontent.com/460055/101290321-7247d400-37cf-11eb-9673-625a262b05f4.png)
![image](https://user-images.githubusercontent.com/460055/101290352-a3c09f80-37cf-11eb-8bc4-dc486a8abfc8.png)
![image](https://user-images.githubusercontent.com/460055/101290357-af13cb00-37cf-11eb-9f73-ed294aafe304.png) ![image](https://user-images.githubusercontent.com/460055/101290362-b76c0600-37cf-11eb-993c-37db1ff048c8.png) ![image](https://user-images.githubusercontent.com/460055/101290365-be931400-37cf-11eb-98d5-e8f7e1dffbef.png) ![image](https://user-images.githubusercontent.com/460055/101290371-c3f05e80-37cf-11eb-9fe6-095d345e2b90.png)