Wednesday, 1 February 2017

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.

WHAT OTHERS ARE READING/RELATED TO THIS:

0 comments:

Post a Comment