



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An overview of React, a JavaScript library for building user interfaces. It includes information on how to get started with React, from trying it out in online playgrounds to adding it to a website or creating a new app. It also offers resources for learners with different backgrounds and learning styles.
Typology: Summaries
1 / 5
This page cannot be seen from the preview
Don't miss anything!
React is a JavaScript library for building user interfaces. Learn what React is all about on our homepage or in the tutorial. Try React Learn React Staying Informed Versioned Documentation Something Missing? Try React React has been designed from the start for gradual adoption, and you can use as little or as much React as you need. Whether you want to get a taste of React, add some interactivity to a simple HTML page, or start a complex React-powered app, the links in this section will help you get started.
If youʼre interested in playing around with React, you can use an online code playground. Try a Hello World template on CodePen, CodeSandbox, or Stackblitz. If you prefer to use your own text editor, you can also download this HTML file, edit it, and open it from the local filesystem in your browser. It does a slow runtime code transformation, so weʼd only recommend using this for simple demos.
You can add React to an HTML page in one minute. You can then either gradually expand its presence, or keep it contained to a few dynamic widgets.
When starting a React project, a simple HTML page with script tags might still be the best option. It only takes a minute to set up! As your application grows, you might want to consider a more integrated setup. There are several JavaScript toolchains we recommend for larger applications. Each of them can work with little to no configuration and lets you take full advantage of the rich React ecosystem. Learn how. Learn React People come to React from different backgrounds and with different learning styles. Whether you prefer a more theoretical or a practical approach, we hope youʼll find this section helpful. If you prefer to learn by doing , start with our practical tutorial. If you prefer to learn concepts step by step , start with our guide to main concepts. Like any unfamiliar technology, React does have a learning curve. With practice and some patience, you will get the hang of it.
The React homepage contains a few small React examples with a live editor. Even if you donʼt know anything about React yet, try changing their code and see how it affects the result.
If you feel that the React documentation goes at a faster pace than youʼre comfortable with, check out this overview of React by Tania Rascia It introduces the most important React
Many React users credit reading Thinking in React as the moment React finally “clicked” for them. Itʼs probably the oldest React walkthrough but itʼs still just as relevant.
Sometimes people find third-party books and video courses more helpful than the official documentation. We maintain a list of commonly recommended resources, some of which are free.
Once youʼre comfortable with the main concepts and played with React a little bit, you might be interested in more advanced topics. This section will introduce you to the powerful, but less commonly used React features like context and refs.
This documentation section is useful when you want to learn more details about a particular React API. For example, React.Component API reference can provide you with details on how setState() works, and what different lifecycle methods are useful for.
The glossary contains an overview of the most common terms youʼll see in the React documentation. There is also a FAQ section dedicated to short questions and answers about common topics, including making AJAX requests, component state, and file structure. Staying Informed The React blog is the official source for the updates from the React team. Anything important, including release notes or deprecation notices, will be posted there first.
You can also follow the @reactjs account on Twitter, but you wonʼt miss anything essential if you only read the blog. Not every React release deserves its own blog post, but you can find a detailed changelog for every release in the CHANGELOG.md file in the React repository, as well as on the Releases page. Versioned Documentation This documentation always reflects the latest stable version of React. Since React 16, you can find older versions of the documentation on a separate page. Note that documentation for past versions is snapshotted at the time of the release, and isnʼt being continuously updated. Something Missing? If something is missing in the documentation or if you found some part confusing, please file an issue for the documentation repository with your suggestions for improvement, or tweet at the @reactjs account. We love hearing from you! Is this page useful? Edit this page Next article Add React to a Website