These are chat archives for chandu0101/scalajs-react-components
webpackin demo folder to rebundle files with latest updates ( ofc you must update deps using npm update)
Okay got it.
npm startjust plain doesn't work, but if I run
webpack-dev-serverby itself it works. Might have something to do with cygwin, idk
I'm working on generic error message handling for components.
val errors: Seq[DetectError] = Seq( s => if (isWeekend(s.startDate)) Some(<.span(^.color.blue, "Departure date is on a weekend")) else None, s => if (isWeekend(s.endDate)) Some("Return date is on a weekend") else None, s => Some("Debug: " + s.toString)