Difference between declarative and imperative in React.js?

后端 未结 9 537
日久生厌
日久生厌 2020-11-30 17:29

Recently I\'ve been studying a lot about the functionality and the ways to use the Facebook JavaScript library React.js. When speaking of its differences to the rest of the

9条回答
  •  孤独总比滥情好
    2020-11-30 17:53

    Declarative programming is a programming paradigm … that expresses the logic of a computation without describing its control flow.

    Imperative programming is a programming paradigm that uses statements that change a program’s state.

    ref link:-https://codeburst.io/declarative-vs-imperative-programming-a8a7c93d9ad2

提交回复
热议问题