reading-notes

Software Development Reading Notes

View on GitHub

React

ES6

New features: ES5 VS ES6

React

React - Hello World

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<h1>Hello, world!</h1>);

React - JSX

React - Rendering Elements

React - Components & Props

React - State & Lifecycle

State

Lifecycle

This is the component lifecycle!

React - Handling Events

Tailwind CSS

an in-line writing css with built-in formats to style your app.

Tailwind in 15 minutes

Next.js

Next.js lets you build server-side rendering and static web applications using React.

Install

It’s easy to install:

npm install --save next react react-dom

Build

Add a build script:

{
  "scripts": {
    "dev": "next",
    "build": "next build",
    "start": "next start"
  }
}

Run