Javascript react: Difference between revisions

From wikinotes
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
A user interface framework written in javascript.<br>
A user interface framework written in javascript at facebook.<br>
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 =
Line 7: Line 10:
{| class="wikitable"
{| class="wikitable"
|-
|-
| api docs/overview || https://reactjs.org/docs/react-api.html
| 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/
| homepage || https://reactjs.org/
Line 31: Line 38:
|-
|-
| [[react components]]
| [[react components]]
|-
| [[react lazy components]]
|-
| [[react events]]
|-
| [[react hooks]]
|-
|}
</blockquote><!-- Syntax -->
= Best Practices =
<blockquote>
{|
|-
|-
| [[react state management]]
| [[react state management]]
|-
|-
| [[react DOM events]]
| [[react testing]]
|-
|-
|}
|}
</blockquote><!-- Syntax -->
</blockquote><!-- Best Practices -->

Latest revision as of 02:04, 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 events
react hooks

Best Practices

react state management
react testing