Platform Renders:
-
react-dom
for the web -
react-native
for mobile (iOS / Android) or desktop (Windows / MacOS) applications -
react-three-fiber
for 3D scenes using WebGL and Three.js
Steps in render function:
- create a DOM element
- update properties
put it in the container
We can only use JS expressions inside the {}
Top comments (0)