I'm feeling my way forward for how to incorporate storybook.js into our react/reagent single page webapp workflow. Putting my first attempt here in the hope others with experience might comment with any tips/insights for getting it right: https://github.com/olivergeorge/caniusestories
Counting lines in clojurescript:
(str/split-lines "\n\n\n\n")
=> []
(str/split "\n\n\n\n" #"\n")
=> []
(count (re-seq #"\n" "\n\n\n\n"))
=> 4
;js
"\n\n\n\n".split(/\n/).length
5