liveBook · Manning

Vite

As explained in Refactoring to Rust

Vite is a frontend build tool that provides development-server and asset-bundling tooling for modern JavaScript applications.

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

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

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.