February 2019
Beginner to intermediate
180 pages
4h 4m
English
Since our bsconfig.json includes subdirectories, we can create a src/customers directory to house related components, and BuckleScript will recursively look for Reason (and OCaml) files in subdirectories of src:
/* bsconfig.json */..."sources": { "dir": "src", "subdirs": true},...
Let's move on and rename the src/Page1.re component to src/customers/CustomerList.re. In the same directory, we'll later create Customer.re, which will be used to both create and update individual customers.
Read now
Unlock full access