CS 312 | lecture05-react3
Other common directories inside of src will include components for our sub-component files, and lib for non-component JavaScript. Note that we cannot move config files or public inside of src or next will not be able to find them. You will find the Next version of the Color Picker on GitHub. JavaScript is dynamically typed, and as such, it is easier to introduce type-errors than in a statically typed language. To catch typing errors there are JavaScript extensions like TypeScript and Flow that provide static type checking. React provides a form of dynamic type checking for props via PropTypes that runs in development mode.