An open API service indexing awesome lists of open source software.

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

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.