javascript - Improving code quality/organization of event-heavy riot applications -


I am creating an application using riot.js and jquery. Everything works as expected, but as the code grows, my concern is that nothing in the code is triggering and managing events in the random / unexpected places (.trigger / .on) To keep my code organized and quickly understandable

My questions are:

(1) I would like to keep a clean and well-organized code for such an application (event namespace one thing My mind ) And

(2) I want to keep events on the model different from the event on DOM clearly in the presentation. I riot these targets. How can I get in the application based

thanks

you can see one Are there.

  • - Another popular FRP library
  • - insteresting less popular but FRP library

  • Comments

    Popular posts from this blog

    sql - Find last match with latest inserted name in table -

    c# - XML serialize base class without knowing derived class -

    Send innerHTML text in URL in JSP -