As the title says, I just looked at the Js module and thought to myself why I didn’t know about it before, I was always manually checking everything. Is there any way that I can learn how to correctly program and what to look for in rescript?
I’m looking for something like the excellent Feldman’s elm book
I don’t think there are any books on ReScript currently.
I’m working on writing one and someone else on this forum is working on one, but neither is published yet.
I’m nearly done writing tho, so I might be able to send you a pdf of the manuscript in exchange for proofreading help
The official docs and tutorials are a pretty decent learning resource; those + blog posts are probably the best reference for the ReScript <-> JS Interop stuff.
Really looking forward to your work.
For more experienced eng its possible to cross your eyes and read Ocaml/Reason docs to learn Rescript, but has not been helpful for the junior engineers i work with.
(Still, i feel like the documentation even on the website is quite good, and does explain most central concepts well, and the api docs are solid! If jr engineer hits a funny corner case its better to involve the other team members and make it a learning session anyway)
Yeah the problem that I’m going through is that I’m not capable of understanding and feel what Belt functions do or how to pattern match deep arrays that rescript-relay gives. I’m really having a readache reading the error messages or taking guesses at the function signatures.