All Projects → kidqueb → preact-polka-ssr

kidqueb / preact-polka-ssr

Licence: other
Preact SSR using Polka

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to preact-polka-ssr

preact-integrations
A collection of sample apps demonstrating Preact's compatibility with various 3rd party libraries
Stars: ✭ 33 (+22.22%)
Mutual labels:  preact, preact-demos
React Storefront
React Storefront - PWA for eCommerce. 100% offline, platform agnostic, headless, Magento 2 supported. Always Open Source, Apache-2.0 license. Join us as contributor ([email protected]).
Stars: ✭ 292 (+981.48%)
Mutual labels:  preact, ssr
preact-compat-example
🚤 Demo of preact-compat + react-toolbox to reduce build size by 95%.
Stars: ✭ 52 (+92.59%)
Mutual labels:  preact, preact-demos
Unistore
🌶 350b / 650b state container with component actions for Preact & React
Stars: ✭ 2,850 (+10455.56%)
Mutual labels:  preact, unistore
Hydux
A light-weight type-safe Elm-like alternative for Redux ecosystem, inspired by hyperapp and Elmish
Stars: ✭ 216 (+700%)
Mutual labels:  preact, ssr
preact-server-renderer
Server side rendering of preact components
Stars: ✭ 66 (+144.44%)
Mutual labels:  preact, ssr
React Storefront
Build and deploy e-commerce progressive web apps (PWAs) in record time.
Stars: ✭ 275 (+918.52%)
Mutual labels:  preact, ssr
preact-views
📺 Named views for Preact, with easy-as-pie linking between them.
Stars: ✭ 39 (+44.44%)
Mutual labels:  preact, preact-router
Goober
🥜 goober, a less than 1KB 🎉 css-in-js alternative with a familiar API
Stars: ✭ 2,317 (+8481.48%)
Mutual labels:  preact, ssr
Preact Redux Isomorphic
preact-redux-isomorphic PWA SPA SSR best practices and libraries in under 80kB page size (for live demo click the link below)
Stars: ✭ 85 (+214.81%)
Mutual labels:  preact, ssr
Preact Cli Ssr
A quick demo for adding SSR to a Preact CLI app
Stars: ✭ 76 (+181.48%)
Mutual labels:  preact, ssr
preact-motion
A fork of React-Motion to be used with Preact
Stars: ✭ 28 (+3.7%)
Mutual labels:  preact, preact-demos
preact-route-async
Easy asynchronous loading for your router components. For 440B.
Stars: ✭ 36 (+33.33%)
Mutual labels:  preact, preact-router
personal-website
Personal website – made with Next.js, Preact, MDX, RMWC, & Vercel
Stars: ✭ 16 (-40.74%)
Mutual labels:  preact, ssr
dl-model
Dragalia Lost Model Viewer
Stars: ✭ 30 (+11.11%)
Mutual labels:  preact
picidaejs
🐦Picidae is a document generator which has gentle experience.
Stars: ✭ 24 (-11.11%)
Mutual labels:  ssr
my-blog
🐬 个人技术博客(基于vue的服务端渲染 nuxt.js)
Stars: ✭ 94 (+248.15%)
Mutual labels:  ssr
react-native-react-bridge
An easy way to integrate your React (or Preact) app into React Native app with WebView.
Stars: ✭ 84 (+211.11%)
Mutual labels:  preact
nuxt-plesk-example
No description or website provided.
Stars: ✭ 27 (+0%)
Mutual labels:  ssr
teanjs
🔥 TypeORM - Express - Angular 8 - NestJS Server Side Rendering (SSR) 😺
Stars: ✭ 62 (+129.63%)
Mutual labels:  ssr

Preact/Polka SSR

NOT MAINTAINED. Use it for reference if you'd like, but I'd personally just look into running Nextjs with Preact.

Implemented

  • Isomorphic preact app served by polka.
  • Component's can use a static getInitialProps method to retrieve data.
  • Service worker using workbox-webpack-plugin (production only).
  • Wired up unistore with scoped state containers.
  • Manage <head> on a per page basis with a static setHead function.

Setting Up Local SSL

On Chrome you can enable local ssl at chrome://flags/#allow-insecure-localhost

$ openssl req -x509 -out ./_config/ssl/local.crt -keyout ./_config/ssl/local.key \
  -newkey rsa:2048 -nodes -sha256 \
  -subj '/CN=localhost' -extensions EXT -config <( \
   printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].