yarr
yarr copied to clipboard
Tutorial errors
Hi, I am going through the tutorial and I think I found some errors, the page would not display:
step 1: Don't import "jQuery" but "jQuery" instead. I guess, that changed since then.
step 3 / "Consistent System = Maintainable System"
Returning the <div className="container">
in "main.js":
I have to put <div className="container">
on the same line as "return", otherwise it would not parse correctly. The previous snippets are all correct for example.
Thank you for the great tutorial and your talk at jQueryConf 2015.
Hey sladiri,
I am glad you liked the tutorial. I am going to let these errors slide. I think they're not that much of a trouble to fix by the readers while following the tutorial. I've written different steps in this tutorial in git history. Making changes require lot of rebasing and other git tricks. I am sort of busy these days, and am feeling dreadful by the thought of going through all that again 😅
I'll keep this issue open. Will fix them on a sunny day.
Hi,
In my initial message I actually mentioned that changing these could be difficult, I understand. Just to be more specific: As a newcomer the only thing that cost me some time were those errors caused by a single return on a line.
Regards, Sladjan
Thanks, Charanjit, for the awesome tutorial!
In addition to the jQuery => jquery
, I'd like to point out another typo from the 1-hello-rx
that is relevant to this Issue:
I believe
import {get} from 'jQuery';
ought to now be
import {ajax} from 'jquery';