# UI PLanning
# Questions to ask
# Component Library
# Which Event system to choose and why?
goog.dom
,goog.events
reagent.core
comes with react Event Handlers
# Which DOM Manipulation library to use, why?
- Google Closure Library
- Reagent DOM
- vanilla JS via js Interop
# Data Informational Model
- Cascade subscriptions, todos is used as input to num-completed subscription
(rf/reg-sub
:num-completed
:<- [:todos]
(fn [todos]
(count (filter :done? todos))))
- Self aware components for data validations?
# Data validations
- Show validation only when its relevant, complex chaining with multiple inputs. Use isVisited and isActive flags
# Wooleybear
How bulma CSS works?
How to make free
icons
! works?
Add this to HTML <script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
Which CSS preprocessor to use?
node-sass
is About 7 times faster than sass
. Source (opens new window)
Simple stylus (opens new window) everything on single page
How to use HTML data-attributes in clojurescript? How to remove list items on click?
Vanilla JS Example (opens new window)
# Questions
- Should I keep the states outside c7t or inside of c7t?
- How
react
helps when we already havevanilla js
dom manipulation APIs ? - How to change class attribute from cljs? (opens new window)
- How to create new fighweel project?
lein new figwheel jq-inter
- When to
ref
andderef
items? - Difference b/w
:as
and:refer
?