Simple example running React in SSR using Rust as a backend
Learn V8 from here
- First make sure you install Rust
- And install LLVM & Clang
Before running the server, it required to build the frontend project
# Go to target directory
cd examples/source
# Install using yarn
yarn
# Build all required files
yarn build:all
# Back to root project
cd ../../
# serve with actix web server
# Using V8
cargo build --example=actix-v8 --release
# Using JSC
cargo build --example=actix-jsc --release
# Serve the example
# V8
cargo run --example=actix-v8 --release
# JSC
cargo build --example=actix-jsc --release
See the serve in JSC : http://localhost:8081
See the serve in V8 : http://localhost:8082
- Babel transformer => using same api in Next.js
- Benchmarking and compare with Next.js
- Using JSC
- Fix JSC
[Object Module]