Describe the difference between imperative code (Backbone/Angular) and declarative code (React).

Imperative is "how" to do something. When a model updates, you tell the view to listen to that model, and then in the view you tell the HTML what to do.
Declarative is "what" to do. It takes away the "how" allowing you to focus on what's most important.

Comments

Archive

Contact Form

Send