React的使用
React (also known as React.js or ReactJS) is a JavaScript library for building user interfaces. It is maintained[维护] by Facebook and a community of individual developers and companies.
React can be used as a base in the development of single-page or mobile applications, as it is optimal[最优的] for fetching rapidly changing data that needs to be recorded. However, fetching data is only the beginning of what happens on a web page, which is why complex React applications usually require the use of additional libraries for state management, routing, and interaction with an API: Next.js and Gatsby.js are examples of such libraries.
由上面的定义可知React只是一个高效的视图层(UI)框架,要想写出功能复杂,庞大的工程还需要Redux的支持。