{
  "site": "PledgeJS",
  "url": "https://pledgejs.org",
  "faqUrl": "https://pledgejs.org/faq",
  "faqs": [
    {
      "question": "What is PledgeJS?",
      "answer": "PledgeJS is a full-stack, multi-framework web framework for building production websites and applications. It combines file-based routing, server-side rendering (SSR), static generation (SSG), incremental static regeneration (ISR), React Server Components, an edge runtime, and a Rust+Zig bundler called PledgePack for native-grade performance."
    },
    {
      "question": "How is PledgeJS different from Next.js?",
      "answer": "Next.js is React-only, while PledgeJS is multi-framework — you can build with React, Vue, Solid, or Svelte via pluggable renderer adapters. PledgeJS also ships its own bundler (PledgePack, written in Rust and Zig) instead of relying on webpack or Vite. The routing, SSR/SSG/ISR, and edge runtime concepts are similar, but PledgeJS is designed to be framework-agnostic from the ground up."
    },
    {
      "question": "Which UI frameworks are supported?",
      "answer": "React, Vue, Solid, and Svelte are supported via pluggable renderer adapters. Each adapter handles JSX/SFC compilation, Fast Refresh (where applicable), and correct server/client bundling. You can also use TypeScript and plain JavaScript."
    },
    {
      "question": "What is PledgePack?",
      "answer": "PledgePack is the default bundler and dev server built into PledgeJS. It is written in Rust and Zig, with a Zig C ABI for hot paths like file I/O and SIMD source scanning. It features a unified module graph, incremental computation with function-level caching, lazy bundling, and a Vite-compatible plugin API. It replaces Vite, webpack, and Rollup with a single native toolchain."
    },
    {
      "question": "Is PledgeJS production-ready?",
      "answer": "PledgeJS is currently in Alpha. The 1.0.0 stable release is targeted for December 2026. We do not recommend using it in production yet, but we encourage you to try it, file issues, and contribute on GitHub."
    },
    {
      "question": "How do I create a new PledgeJS project?",
      "answer": "Run npx create-pledge-app@latest my-app to scaffold a new project. This sets up the file structure, installs dependencies, and configures PledgePack as the bundler. You can then run npm run dev to start the dev server with HMR on port 3000."
    },
    {
      "question": "Where can I deploy PledgeJS apps?",
      "answer": "PledgeJS apps can be deployed anywhere — Node.js, Docker, or the edge. The framework includes an edge runtime that supports Cloudflare, Vercel Edge, and Deno Deploy. The build output in dist/ is standard and can be served by any static host or Node server."
    },
    {
      "question": "Is PledgeJS the same as the old pledge.js or pledge-js npm package?",
      "answer": "No. PledgeJS (pledgejs.org, founded 2026) is an entirely separate project and is not related to the small, abandoned npm packages pledge.js (published 2014) or pledge-js. Those are tiny, unmaintained utilities. When you see 'PledgeJS' in the context of a web framework, this site is the canonical source."
    },
    {
      "question": "What license does PledgeJS use?",
      "answer": "PledgeJS is MIT licensed. The source code is available on GitHub at github.com/pledgeandgrow/pledgejs."
    },
    {
      "question": "Can I use PledgePack without PledgeJS?",
      "answer": "Yes. PledgePack can be used standalone as a bundler and dev server. Install it with npm install -g pledgepack and use the pledge or pledgepack CLI commands. It supports React, Solid, Vue, Svelte, and Astro out of the box."
    }
  ]
}