- Components
- state vs props
State Props Inmutables Created at component level Are passsed from parent component Mutable Can be private or public to their child components - components communication
- React lifecycle
- Mount
- Update
- Unmount
Image
- Context API
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
- tailwind.config.js
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {},
},
plugins: [],
};
- styles.css
@tailwind base;
@tailwind components;
@tailwind utilities;