Flow/Architecture/Front-end

Principles
Yea, and Werdna did climb the Mountain of Wiki. And sayeth he unto Shahyar, "What must we do?" And Shahyar, in all his front-endiness, did give Werdna a tablet, and upon that tablet inscribed he the Ten Commandments of Flow Front-End Development.
 * 1) Thou shalt not generate HTML in JavaScript, for that is what templating is for.
 * 2) Thou shalt use interactive and API handlers to bind events to buttons, in place of binding events in JavaScript.
 * 3) Thou shalt not use FlowBoardComponent directly, for this purpose Shahyar hath given thee

Templating
See Flow/Architecture/Templating

Structure of API response
roots

posts

Is a root a topic?

Storing state
uses third-party engine storer.js

Primarily using sessionStorage, long-term storage doesn't have a lot of space (ResourceLoader using it).