Jump to ratings and reviews
Rate this book

Svelte JS Book: Learn Svelte JS By Example

Rate this book
Lighterweight and faster than it's popular UI component framework counterparts, the people behind Svelte JavaScript appear to have learned many lessons from older frameworks. Svelte is gaining mindshare. Build-time compilation establishes an optimized DOM, and conciseness of syntax and inherent reactivity allow more functionality with less code. Svelte JS Book is an example-by-example guide via multiple demonstration applications building front-ends for web apps with Svelte. After a slightly expanded version of "Hello World" {with a lighthearted nod toward a fictitious crew who hangout at a late-90's NYC coffee shop) you will then shift to coding a Conference Attendee app, and Conference Room Capacity Planning app, and finally a Mileage Tracking Journal app. You'll have working code that demonstrates Svelte's reactivity, props, events, lifecycle, stores, data bindings, conditional logic, and forms. We also provide links to the sample code in an online repository should you want help starting and ending each chapter in sync with the demonstrated examples.

129 pages, Kindle Edition

Published July 6, 2020

14 people are currently reading
1 person want to read

About the author

Shane Deam

1 book

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (25%)
4 stars
0 (0%)
3 stars
3 (75%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Matt.
12 reviews17 followers
February 7, 2021
There are multiple code samples that are incorrect, many of them looks like the code was written once and then some names got changed, but the code snippets never were updated. I have submitted the problems I found to Kindle to see if they will inform the author. Unless you look in the global.css on the source repo, you also would not be able to match the stylings in the book as well for the beginning project. There are multiple different chapters with code that will not compile or render correctly due to these errors. It was fairly obvious that there was no technical editor confirming the code compiles or the output matches before publishing by following the steps outlined in the book. There also was a reference to the source repo early in the book, but no link to it and no initial link to the main repo in the start of the book that is more common in more mainstream published books. Subsequent chapters reference the repo with a link. The source on the repo link also have the same errors and have not been fixed either, or in some cases has slightly different code that partially matches the snippets. There are a number of typos in the text throughout and there is even a sentence that was never finished and a sentence that is at the end of a chapter that should have been in the beginning. Later on into the book, there are more code snippets that are missing other parts of the code that you really have to use the source repo to get working. The snippets have components that are ended and never opened in the earlier snippets in the section. If you overlook the lack of editing and code issues, the book's concepts it is teaching is great though and does a good job explaining different aspects of Svelte. Refactoring from vanilla JavaScript to the Svelte way is especially great way of explaining how to use Svelte. I did find the projects to be a decent example of showing what parts of Svelte the other wanted to highlight.

TL;DR: Many technical and copy errors mar what could have been a good beginner's introduction by example of how to use Svelte.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.