Fork me on GitHub
#lambdaisland
<
2017-01-24
>
practicalli-johnny11:01:43

[Transcript bug: Episode 10: Reagnt part 2] state used instead of board @plexus Search for state and it's the first match inside a code block. The defn for board has an argument called board but the r/cursor has an argument called state. Changing the argument to board fixed the issue.

practicalli-johnny11:01:24

Apart from this tiny slip, a really great tutorial series on reagent that worked well. I managed to go through the first two episodes with no prior experience of reagent or re-frame. Thank you.

plexus21:01:34

this bit, right?

plexus21:01:38

(defn Board [board]
  [:div.board
   (for [i (range (count (:columns @board)))]
     [Column (r/cursor board [:columns i])])
   [NewColumn]])

plexus21:01:58

Fixed it, thanks @jr0cket. Very happy to hear you liked the videos!

practicalli-johnny21:01:48

Yes, thats the one.

practicalli-johnny21:01:48

Personally I find the transcripts easier to follow. I’ve always preferred blog posts to videos, so I have time to think and experiment. I did like the bits of videos I have watched though, I just usually go straight to the transcript.

plexus21:01:49

I've heard that from other people as well, although so also really prefer the videos. That's why they're both there.

plexus21:01:32

Personally I tell people to first watch the video in a single pass to get an overview, then go through the material step by step yourself, either by pausing the video or just using the transcript.

plexus21:01:54

although that also depends on the type of episode