jaredly / jaredly.github.io

node.js python data science golang philosophy faith. in no particular order
jaredly.github.io
10 stars 13 forks source link

React.arrayToElement -> ReasonReact.arrayToElement #8

Open dmnd opened 7 years ago

dmnd commented 7 years ago

Excellent post @jaredly!

I noticed that in a few places the post hasReact.arrayToElement when it should say ReasonReact.arrayToElement.

Also, I got pretty tripped up here:

image

I didn't notice the /* ... */ had code inside it! After all, it kinda looks like a comment. This led to me writing my state type definition after the call to ReasonReact.statefulComponent, which led to Unbound record field items errors that were pretty confusing for me.

Maybe that collapsable section should be open by default? Or maybe you could use a disclosure arrow instead of comment syntax.

Anyway, thanks again for writing this! 😄