Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 1.06 KB

README.md

File metadata and controls

65 lines (48 loc) · 1.06 KB

React 19 App

This is a simple React 19 app to demonstrate new features in React 19.

Features

  • 1- Server Actions with useActionState hook
  • 2- Form Actions with useFormStatus hook

Prerequisites

  • Node.js 18.0 or higher
  • npm or yarn

Getting Started

  1. Clone the repository:
git clone https://github.com/yourusername/react-19.git
cd react-19
  1. Install dependencies:
npm install
# or
yarn install
  1. Start the development server:
npm run dev
# or
yarn dev
  1. Open your browser and navigate to http://localhost:5173

Project Structure

react-19/
├── src/
│   ├── actions/        # Server actions
│   ├── routes/         # Page components
│   ├── pages/          # Page components
│   └── main.tsx        # Entry point
├── package.json
└── README.md

Technologies Used

  • React 19
  • TypeScript
  • Vite
  • ESLint
  • react-router

Contributing

Feel free to submit issues and pull requests.

License

MIT License - feel free to use this code for your own projects.