GithubHelp home page GithubHelp logo

codpoe / servite Goto Github PK

View Code? Open in Web Editor NEW
37.0 1.0 3.0 2.81 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.02% TypeScript 77.42% HTML 0.71% JavaScript 2.45% CSS 7.68% MDX 11.72%

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
  • handle error while ssr
  • update docs

servite's People

Contributors

codpoe avatar

Stargazers

Daniel Bannert avatar Oswaldo avatar Madinah avatar CY avatar Zhazha_JiaYiZhen avatar xjccc avatar zouhang avatar Joseph Anson avatar Brendon Matos avatar Lochlan Bunn avatar Zafar avatar rgehbt avatar  avatar Sebastian Korotkiewicz avatar Meerzulee avatar Mithen_Ji avatar Uyloal avatar 木头981 avatar beautifulfox avatar @e_iism avatar Yofine avatar CorrectRoad avatar marisa&&alice avatar  avatar Shervin Chen avatar Tristan Yang avatar Thimo avatar H.J. van Meerveld avatar Andrés Navarrete avatar HunterPHP avatar Charlike Mike Reagent avatar Clifford Fajardo  avatar Pengsha Ying avatar Puk Hung-Yu avatar  avatar h7ml avatar yangxingyuan avatar

Watchers

 avatar

servite's Issues

I could't visit the doc

When I visit the servite docs using firefox or chrome, I get the error "An error occurred during a connection to servite.vercel.app. PR_CONNECT_RESET_ERROR". Then I use mobile phone to try,but I received the TIME_OUT. So could you give me some way to visit the doc please?

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.