Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Lesson 7.1 #25

Open
johnthad opened this issue Oct 21, 2015 · 3 comments
Open

Running Lesson 7.1 #25

johnthad opened this issue Oct 21, 2015 · 3 comments

Comments

@johnthad
Copy link

Two simple changes will allow this lesson to run:

  1. The public directory is missing. You must make the directory. Leave it empty.
  2. Edit package.json, changing line Lesson 1.2 Setting Up Your Development environment #31 to force loading react-router 1.0.0-beta3 and only that version: "react-router": "1.0.0-beta3".

I haven't found the magic for handling server rendering and routing with the newest version of react-router. It seems to have changed drastically. Maybe it can work with the Router.run() call in server.js (line #23) but Location no longer exists and I cannot get history/lib/createLocation to work. In any case, react-router locations may be changing and may well work some other way before it is finalized.

@hojberg
Copy link
Owner

hojberg commented Oct 23, 2015

Yeah I might have to re-record that lesson. The various beta and rc versions react-router changed dramatically.

@intrepion
Copy link

Instead of re-recording lessons, another option could be to make errata pages for each lesson and then add the same short recording to each video showing them the link to the errata pages. On the errata pages, you can then post what exact versions that you need for the tutorial to work and, if you have time, post solutions for the latest versions.

@johnthad
Copy link
Author

I don't think re-recording is necessary. In any case the stuff changes so
fast that whatever you did today might not apply in three months. Such is
the nature of bleeding edge.

I attended a local tech camp http://becamp.org/schedule yesterday where
one of the talks was on ReactJS. The presenter was from a local company
http://willowtreeapps.com/ that specializes in mobile apps. They are big
ReactJS cheerleaders. The presenter said they've had some of the same
issues getting to production.

You are welcome to post the file I sent you. Meanwhile I will try to
revisit #7.2, and see if I can make it work with the latest react-router.
As for #8 and #9, they were interesting, especially React Native. I did not
work closely though the demos because I have no current application for
them.

On Sun, Oct 25, 2015 at 11:07 AM, Oliver Forral notifications@github.com
wrote:

Instead of re-recording lessons, another option could be to make errata
pages for each lesson and then add the same short recording to each video
showing them the link to the errata pages. On the errata pages, you can
then post what exact versions that you need for the tutorial to work and,
if you have time, post solutions for the latest versions.


Reply to this email directly or view it on GitHub
#25 (comment)
.

"Hell hath no limits, nor is circumscrib'd In one self-place; but where we
are is hell, And where hell is, there must we ever be" --Christopher
Marlowe, Doctor Faustus (v. 121-24)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants