Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Stay on Topic

    John LindquistJohn Lindquist

    Tangents are opportunities for other lessons. When you find yourself drifting off-topic because you feel you need to explain some code you wrote, consider how that piece of code fits back into a "How do I?" question, then come up with a separate lesson to capture it.



    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson




    In this lesson titled, "Set up view with RxJS," in the process of writing some of these code, you might be tempted to say, "I used the subject instead of behavior subject, because of X, Y, and Z."

    Or something like, "Instead of plus one here, I could have done map one and then passed in the one as a second parameter," but those are tangents off of the main lesson. If those ideas pop into your mind, think of a new lesson like -- and remember the inferred, "How do I?"

    " How do I set an initial value in a stream with a behavior subject?" or, "How do I map events to values in reducers, or any other number of lessons that could spawn off from this one?"

    In this lesson, Set up view with RxJS, the only thing you should do is set up view with RxJS. You will be tempted to talk about any number of other things, but save those for other lessons.