choojs/create-choo-app

components

Opened this issue · 3 comments

Was thinking including nanocomponent might make sense. Perhaps a lil "hi there" screen with a main route and 404 route set up, including a lil header or smth. Then also include assert-snapshot with tape so folks can figure out how to do UI testing right.

Depends on new nanocomponent.

cc/ @bcomnes

todo

  • create header component (components/header.js)
  • setup testing (test/index.js, test/header.js)
  • create a test-save script (or similar) to save the new snapshot

+1 to adding nanocomponent by default.

Also setting up UI testing would be ace. I still need to sort out how to do that.

The default view generated mentions that a component folder is included, however, it's not. Are there still plans to add this? Thanks.

image
image