Vite bootstraps modern JavaScript applications and provides development tooling for a React app. It supplies the minimum structure needed to experiment with WebAssembly, while bundling packages into modules that JavaScript can import. section 9.4
Vite
Vite is a frontend build tool that provides development-server and asset-bundling tooling for modern JavaScript applications.
How Refactoring to Rust covers it
- How deep it goes
- Demonstrates project creation and plugin configuration, stopping short of detailed bundler internals.
- Examples
- Uses a React project, vite.config.js, WebAssembly plugins, and a component that fetches papers asynchronously.
- What it assumes
- Assumes npm installation while introducing application bootstrapping, bundling, and React integration through concrete steps.
- What you can do after
- Operate Vite via npm commands and configure it to integrate React components with bundled WebAssembly.
- How it connects
- Connects React, JavaScript, npm, WebAssembly, bundlers, and asynchronous module imports.
Related concepts
- Rollupuses · Rollup is an open-source JavaScript module bundler that combines ES modules into optimized bundles for libraries and applications.
- Remixcontrasts with · Remix is a full-stack web framework for React applications featuring nested routing, server rendering, and web-standard data interactions.
- Create React Appalternative to · Create React App is a command-line tool that scaffolds React applications with a preconfigured project structure, dependencies, and development environment.
This explainer was generated by Manning's knowledge graph from the text of Refactoring to Rust. The section links point to the parts of the book it draws on.
