Javascript react: Difference between revisions

From wikinotes
No edit summary
Line 2: Line 2:
It is used both for websites, and for mobile applications.<br>
It is used both for websites, and for mobile applications.<br>
It is also referred to as react.js
It is also referred to as react.js
Most commonly, react is written in [[javascript jsx|jsx]] or [[typescript tsx|tsx]], where it is used like a superset of html.<br>
It encourages typed callbacks over strings/templating.


= Documentation =
= Documentation =

Revision as of 02:02, 11 December 2022

A user interface framework written in javascript at facebook.
It is used both for websites, and for mobile applications.
It is also referred to as react.js

Most commonly, react is written in jsx or tsx, where it is used like a superset of html.
It encourages typed callbacks over strings/templating.

Documentation

api docs https://reactjs.org/docs/react-api.html
api docs/overview (intro) https://reactjs.org/docs/hello-world.html
api docs/advanced (features) https://reactjs.org/docs/accessibility.html
homepage https://reactjs.org/
codepen (interactive editor) https://codepen.io/pen

Intro/Reference

react projects
react anatomy

Syntax

react components
react lazy components
react DOM events
react hooks

Best Practices

react state management