React – Cheatsheet
all-scribbly react
=> The React script allows us to write React components => The ReactDOM script allows us to place our components and work with them in the context of the DOM ReactDOM.render(<Greeting />, document.getElementById(‘root’));Copy Translating the line of code above to English would sound something like this; Use ReactDOM’s render method to render the Greeting element […]
React – Cheatsheet Read More »