Skip to content

Commit 6f1fa39

Browse files
committed
optimizing and removing unneeded code
1 parent d1369c3 commit 6f1fa39

File tree

12 files changed

+92
-28111
lines changed

12 files changed

+92
-28111
lines changed

reactjsfoundations.com/package-lock.json

Lines changed: 72 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reactjsfoundations.com/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
"react-scripts": "5.0.0",
2424
"react-social-icons": "^5.11.0",
2525
"react-syntax-highlighter": "^15.4.5",
26-
"styled-components": "^5.3.1",
27-
"typescript": "^4.3.5"
26+
"styled-components": "^5.3.1"
2827
},
2928
"scripts": {
3029
"start": "react-scripts start",

reactjsfoundations.com/public/api-tests/getPost.http

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.

reactjsfoundations.com/src/About.js

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Helmet from "react-helmet";
1+
import Helmet from 'react-helmet';
22

33
function About() {
44
return (
@@ -14,21 +14,27 @@ function About() {
1414
/>
1515
</Helmet>
1616
<h1>About the Author</h1>
17-
<div style={{textAlign:"center"}}>
18-
<img alt="Chris Minnick" src="/images/chris-and-car.jpeg" style={{maxWidth:"100%",height:"auto"}} width="300" height="400" />
17+
<div style={{ textAlign: 'center' }}>
18+
<img
19+
alt="Chris Minnick"
20+
src="/images/chris-and-car.jpeg"
21+
style={{ maxWidth: '100%', height: 'auto' }}
22+
width="300"
23+
height="400"
24+
/>
1925
</div>
20-
<p><a href="https://chrisminnick.com" target="_blank">Chris Minnick</a> has
21-
been a full stack developer for over 25 years, and a professional
22-
author and trainer for 15 years. He has been the lead front-end React
23-
developer for several startup companies, and has been building web and
24-
mobile user interfaces with React since 2015. Chris has produced online
25-
video courses for Pluralsight and O'Reilly Media and is the author of
26-
over a dozen books including ReactJS Foundations: Building User
27-
Interfaces with React JS.
26+
<p>
27+
<a href="https://chrisminnick.com">Chris Minnick</a> has been a full
28+
stack developer for over 25 years, and a professional author and trainer
29+
for 15 years. He has been the lead front-end React developer for several
30+
startup companies, and has been building web and mobile user interfaces
31+
with React since 2015. Chris has produced online video courses for
32+
Pluralsight and O'Reilly Media and is the author of over a dozen books
33+
including ReactJS Foundations: Building User Interfaces with React JS.
2834
</p>
2935

3036
<h3>Other Books by Chris Minnick</h3>
31-
<ul className="inside-links" style={{ listStyleType: "none" }}>
37+
<ul className="inside-links" style={{ listStyleType: 'none' }}>
3238
<li>
3339
<a href="https://amzn.to/3EdqbLR">
3440
Coding with JavaScript for Dummies

reactjsfoundations.com/src/App.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ function App(props) {
5656
style={{ height: 40, width: 40, margin: '8px' }}
5757
/>
5858
</div>
59-
<a
60-
href="https://www.amazon.com/dp/1119685540?&linkCode=li3&tag=chrismincom-20&linkId=6c69efbcfd2ca6ae74a870e3a88a40db&language=en_US&ref_=as_li_ss_il"
61-
target="_blank"
62-
>
59+
<a href="https://www.amazon.com/dp/1119685540?&linkCode=li3&tag=chrismincom-20&linkId=6c69efbcfd2ca6ae74a870e3a88a40db&language=en_US&ref_=as_li_ss_il">
6360
<img
6461
alt="ReactJS Foundations"
6562
border="0"

reactjsfoundations.com/src/WpBlogSP.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { QueryClient, QueryClientProvider, useQuery } from 'react-query';
21
import { useState, useEffect } from 'react';
32
import { useParams } from 'react-router-dom';
43

reactjsfoundations.com/src/chapter06/Reminders/reminders-app/.gitignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)