All Projects → ndreckshage → Sambell

ndreckshage / Sambell

Licence: mit
wake me when it's quitting time

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Sambell

Awesome Nextjs
📔 📚 A curated list of awesome resources : books, videos, articles about using Next.js (A minimalistic framework for universal server-rendered React applications)
Stars: ✭ 6,812 (+6644.55%)
Mutual labels:  nextjs, universal, server-side-rendering
Reactql
Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
Stars: ✭ 1,833 (+1714.85%)
Mutual labels:  webpack, universal, server-side-rendering
Razzle Material Ui Styled Example
Razzle Material-UI example with Styled Components using Express with compression
Stars: ✭ 117 (+15.84%)
Mutual labels:  webpack, universal, server-side-rendering
Cra Universal
🌏 Create React App companion for universal app. No eject, auto SSR, zero config, full HMR, and more (inactive project)
Stars: ✭ 419 (+314.85%)
Mutual labels:  create-react-app, universal, server-side-rendering
Universal Starter
Angular 9 Universal repo with many features
Stars: ✭ 518 (+412.87%)
Mutual labels:  webpack, universal, server-side-rendering
Ts Monorepo
Template for setting up a TypeScript monorepo
Stars: ✭ 459 (+354.46%)
Mutual labels:  webpack, create-react-app, nextjs
Vuesion
Vuesion is a boilerplate that helps product teams build faster than ever with fewer headaches and modern best practices across engineering & design.
Stars: ✭ 2,510 (+2385.15%)
Mutual labels:  webpack, server-side-rendering, universal
React App
Create React App with server-side code support
Stars: ✭ 614 (+507.92%)
Mutual labels:  webpack, create-react-app, server-side-rendering
Universal
Seed project for Angular Universal apps featuring Server-Side Rendering (SSR), Webpack, CLI scaffolding, dev/prod modes, AoT compilation, HMR, SCSS compilation, lazy loading, config, cache, i18n, SEO, and TSLint/codelyzer
Stars: ✭ 669 (+562.38%)
Mutual labels:  webpack, universal, server-side-rendering
React Cool Starter
😎 🐣 A starter boilerplate for a universal web app with the best development experience and a focus on performance and best practices.
Stars: ✭ 1,083 (+972.28%)
Mutual labels:  webpack, server-side-rendering
Craco Alias
A craco plugin for automatic aliases generation for Webpack and Jest
Stars: ✭ 56 (-44.55%)
Mutual labels:  webpack, create-react-app
Rpg Boilerplate
Relay (React), Postgres, and Graphile (GraphQL): A Modern Frontend and API Boilerplate
Stars: ✭ 62 (-38.61%)
Mutual labels:  webpack, server-side-rendering
Next Pkg
Extended Next.js server with pkg support
Stars: ✭ 55 (-45.54%)
Mutual labels:  nextjs, server-side-rendering
React Boilerplate
Production-ready boilerplate for building universal web apps with React and Redux
Stars: ✭ 53 (-47.52%)
Mutual labels:  webpack, universal
React App Rewired
Override create-react-app webpack configs without ejecting
Stars: ✭ 8,630 (+8444.55%)
Mutual labels:  webpack, create-react-app
Docker Rails React Starter
A basic docker-compose, Rails and React / Webpack starter kit
Stars: ✭ 52 (-48.51%)
Mutual labels:  webpack, create-react-app
Starter React Flux
Generate your React PWA project with TypeScript or JavaScript
Stars: ✭ 65 (-35.64%)
Mutual labels:  webpack, create-react-app
Node Blog
🔥✨ A react blog project base on nodejs, nestjs, mongoose, typescript, react, ant-design,nextjs
Stars: ✭ 69 (-31.68%)
Mutual labels:  webpack, nextjs
Universal React Demo
ES6 demo of a simple but scalable React app with react-router, code splitting, server side rendering, and tree shaking.
Stars: ✭ 50 (-50.5%)
Mutual labels:  universal, server-side-rendering
React Universal Boiler
A bold way to begin your next great universal React application. Uses Webpack 3, React 16, Redux, and more for a great developer experience.
Stars: ✭ 65 (-35.64%)
Mutual labels:  webpack, server-side-rendering

DEPRECATED

This project is deprecated. Use next.js, etc.


🌑🌑🌑 sambell 🌑🌑🌑

create performant server-rendered React applications with no build configuration; ideal for universal react-router projects.

Both create-react-app and next.js are great projects, try them! I like aspects of both. But you don't get a universal react-router application out of the box.

What will my app look like?!?

Check out the template!

Install

yarn global add sambell
sambell new app
cd app
yarn start

Features

Dev experience

  • Everything you (or at least, I) want without setting anything up!
  • Client side SPA with react-router version 4.
  • styled-jsx is a great feature of Next.js that I bring in here. I find it to be more pleasant than css-modules, and eaiser to work with for a universal application (critical styles, etc).

Performant

  • React 16
  • Server side rendering. Universal.
  • Critical styles with styled-jsx.
  • Async loading of routes with react-loadable (forked version @humblespark/react-loadable).
  • Async (<script async />) loading of all webpack scripts.
  • Webpack build optimized for production.

Async components

  • Full client & server side support for async loading components, with react-loadable
  • Forked version (@humblespark/react-loadable) to work with server side webpack build & a fix for checksum mismatch.
const Moon = Loadable(() => import(/* webpackChunkName: "components/Moon" */'components/Moon'));

Webpack / Babel

  • Webpack 2 (code splitting, tree shaking, etc).
  • Webpack runs for both client and server code.
  • Minimal loaders (only a JS loader). But it is configurable if you want to add more.
  • absolute path requires from your project root. import App from 'App'.
  • Sourcemaps for client & server.
  • Babel Presets: es2015, stage-1, react
  • Babel Plugins: styled-jsx
  • Polyfills: isomorphic-fetch, babel-polyfill

Configurable

*gerty.js (basic configuration to control where stuff goes)

module.exports = {
  clientEntry: 'client',
  serverEntry: 'server',
  clientOutputDirectory: '.sambell/client',
  serverOutputDirectory: '.sambell/server',
  publicPath: '/static/webpack/',
  webpack: config => config,
};

🚀 -> 🚫 🌎

👽

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].