GithubHelp home page GithubHelp logo

maidang1 / servite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codpoe/servite

0.0 0.0 0.0 1.54 MB

A vite plugin for React SSR / SSG / CSR / Islands. Powered by nitro.

Home Page: https://codpoe.github.io/servite/

License: MIT License

Shell 0.03% JavaScript 0.69% TypeScript 89.55% CSS 8.85% HTML 0.88%

servite's Introduction

servite

A vite plugin for React SSR / SSG / CSR / Islands. Powered by nitro.

To check out docs, visit https://codpoe.github.io/servite/ or https://servite.vercel.app.

Features

  • ๐ŸŒŸ SSR by default
  • โšก๏ธ SSG easily
  • ๐Ÿ–ฅ CSR easily
  • ๐Ÿ Support islands architecture
  • ๐Ÿ”ฅ Powered by nitro

TODO

  • optional ssr / ssg
    • header: no ssr
  • loader params ctx
  • useLoaderData
  • theme
  • copy shared types
  • routes deps optimize
  • parse docblock for js/ts
  • remove theme
  • remove shared: union dirs
  • custom server render
  • jsx dir
  • build: prerender
    • ssg config
    • build islands, island-hydrate
    • modify prerender html file
  • conflict with complete client hydration
  • __islandClient
  • collect all matched routes css
  • upgrade [email protected]
  • dev hmr
  • dev spa: inject entry.client.tsx
  • prebuild src/node/pages/enhance.ts
  • prebuild ssr-styles-cleaner
  • default 404 page
  • support custom html template
  • islands hot reload
  • upgrade to vite@4
  • create-servite
  • Use changeset
  • Optimize the performance of page rendering

servite's People

Contributors

codpoe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.