Content deleted Content added
Add merge notification |
add AJAX library for missing part Tags: Reverted Visual edit |
||
Line 19:
'''React''' (also known as '''React.js''' or '''ReactJS''') is an [[open-source]], [[Front end and back end|front end]], [[JavaScript library]]<ref name="react">{{Cite web|url= https://reactjs.org|title=React - A JavaScript library for building user interfaces.|website=React|access-date=7 April 2018}}</ref> for building [[user interfaces]] or UI components. It is maintained by [[Facebook]] and a community of individual developers and companies.<ref>{{cite web |url=https://www.infoworld.com/article/2608181/javascript/react--making-faster--smoother-uis-for-data-driven-web-apps.html |title=React: Making faster, smoother UIs for data-driven Web apps |last=Krill |first=Paul |date=May 15, 2014 |website=[[InfoWorld]]}}</ref><ref>{{cite web |url=https://www.infoq.com/news/2013/06/facebook-react |title=Facebook's React JavaScript User Interfaces Library Receives Mixed Reviews |last=Hemel |first=Zef |date=June 3, 2013 |website=InfoQ}}</ref><ref>{{cite web |url=https://thenewstack.io/javascripts-history-and-how-it-led-to-reactjs/ |title=JavaScript's History and How it Led To ReactJS |last=Dawson |first=Chris |date=July 25, 2014 |website=The New Stack}}</ref>
React can be used as a base in the development of [[single-page application|single-page]] or mobile applications. However, React is only concerned with state management and rendering that state to the [[Document Object Model|DOM]], so creating React applications usually requires the use of additional libraries for routing.<ref>{{Cite news|url=https://medium.freecodecamp.org/integrating-create-react-app-redux-react-router-redux-observable-bootstrap-altogether-216db97e89a3|title=How to integrate create-react-app with all the libraries you need to make a great app|last=Dere|first=Mohan|date=2018-02-19|work=freeCodeCamp|access-date=2018-06-14}}</ref><ref>{{Cite web|url=https://medium.com/about-codecademy/react-router-to-redux-first-router-2fea05c4c2b7|title=React Router to Redux First Router|last=Samp|first=Jon|date=2018-01-13|website=About Codecademy|access-date=2018-06-14}}</ref> React Router<ref>{{Cite web|url=https://reacttraining.com/react-router|title=React Router: Declarative Routing for React|website=ReactRouterWebsite|language=en|access-date=2019-10-23}}</ref> is an example of such a library. And also large and complicated applications are required to make AJAX calls to fetch or mutate data. You can use any library you like with React such as Axios, JQuery AJAX or the browser built-in window.fetch. <ref>{{Cite web|title=AJAX and APIs – React|url=https://reactjs.org/docs/faq-ajax.html|access-date=2021-03-08|website=reactjs.org|language=en}}</ref>
==Basic usage==
|