Ask HN: How do you transfer the knowledge from HtDP to ReactJS?
Hi,
I'm currently taking the course "How to Code: Simple Data" (https://www.edx.org/course/how-code-simple-data-ubcx-htc1x) which is based on the book "How to Design Programs" (https://htdp.org/2018-01-06/Book/).
If you have taken this course (or read the book), can you share how you used the recipes in designing a React program? A concrete example will be very helpful.
TIA.
5 comments
[ 5.0 ms ] story [ 17.5 ms ] threadAssumptions:
* I have no idea how functions are denoted in ReactJS or called
* Obviously, ReactJS can't manipulate physical reality, so you have to adjust your expectations accordingly. It probably can do some nice things like opening a new tab in Chrome. Although, I am not sure.
I would wait until after you have worked through HtDP, though. And if you haven't learned vanilla Javascript yet, I would work through Eloquent Javascript after finishing HtDP, incorporating the Design Recipe in the same way.
I actually started with vanilla JS and also tried react. But there seem to be a big gap in my skills when it comes to actually building a program. I'm still in the first week of the course but I'm more enlightened already. But I'm still trying to make sense how I can apply it to JS/React. I think I'll just wait until I finish the course.