https://github.com/tobysolutions/million-react-demo
This is a simple React project built with Vite and Javascript + SWC and that uses Million.js as the virtual-dom inplace of React's Virtual dom
https://github.com/tobysolutions/million-react-demo
Last synced: 11 months ago
JSON representation
This is a simple React project built with Vite and Javascript + SWC and that uses Million.js as the virtual-dom inplace of React's Virtual dom
- Host: GitHub
- URL: https://github.com/tobysolutions/million-react-demo
- Owner: tobySolutions
- License: mit
- Created: 2023-03-29T14:35:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T14:51:36.000Z (about 3 years ago)
- Last Synced: 2025-07-21T18:29:59.729Z (11 months ago)
- Language: CSS
- Size: 32.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React App with Million.js
This is a simple React application that uses Million.js to create reusable blocks.
## Getting Started
To run this project, follow these steps:
1. Clone this repository.
2. Install dependencies by running `npm install`, including Million.js.
3. Run `npm run dev` to start the development server.
4. Open `http://localhost:5173` in your browser to see the app.
Note: If you haven't installed Million.js yet, you can install it by running `npm install million` in your terminal.
## Project Structure
- `main.jsx`: This is the entry point of the application.
- `App.jsx`: This file contains the main application logic and renders the components.
- `App.css`: This file contains the styles for the application.
- `assets/`: This directory contains the static assets used in the application.
- `node_modules/million/react`: This directory contains the Million.js library for React.
To learn more about Million.js, please refer to the official documentation [here](https://millionjs.org/]).
## Vite
This project uses Vite as the development server and SWC as the JavaScript/TypeScript compiler. Learn more about Vite here.
## License
This project is licensed under the MIT License - see the LICENSE.md file for details.