All Projects → effector → razzle-template

effector / razzle-template

Licence: MIT license
SSR template with React, Effector, TypeScript, ReactRouter, and StyledComponents

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to razzle-template

Muiscrr Boilerplate
Material-UI Styled Components React Redux boilerplate with offline mode support 🎬
Stars: ✭ 35 (-43.55%)
Mutual labels:  react-router, styled-components
Road Beyond React App
🌈 The Road beyond React - Thing you can use after learning plain React.js
Stars: ✭ 108 (+74.19%)
Mutual labels:  react-router, styled-components
Koa React Notes Web
🤓 A simple SPA built using Koa (2.5.1) as the backend and React (16.4.1) as the frontend. Features MySQL integration, user authentication, CRUD note actions, and more.
Stars: ✭ 61 (-1.61%)
Mutual labels:  react-router, styled-components
After.js
Next.js-like framework for server-rendered React apps built with React Router
Stars: ✭ 4,051 (+6433.87%)
Mutual labels:  react-router, razzle
React Redux Styled Hot Universal
react boilerplate used best practices and focus on performance
Stars: ✭ 147 (+137.1%)
Mutual labels:  react-router, styled-components
React Redux Saga Boilerplate
Starter kit with react-router, react-helmet, redux, redux-saga and styled-components
Stars: ✭ 535 (+762.9%)
Mutual labels:  react-router, styled-components
React Bootstrap Webpack Starter
ReactJS 16.4 + new React Context API +react Router 4 + webpack 4 + babel 7+ hot Reload + Bootstrap 4 + styled-components
Stars: ✭ 103 (+66.13%)
Mutual labels:  react-router, styled-components
molecule
⚛️ –  – ⚛️ Boilerplate for cross platform web/native react apps with electron.
Stars: ✭ 95 (+53.23%)
Mutual labels:  react-router, styled-components
React Page Transition
A React component that makes it easy to use the page transitions from the Codedrops page transitions demo with React
Stars: ✭ 145 (+133.87%)
Mutual labels:  react-router, styled-components
Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (+127.42%)
Mutual labels:  react-router, styled-components
Flag Project React
Awesome stack, awesome project pls press the star button
Stars: ✭ 278 (+348.39%)
Mutual labels:  react-router, styled-components
Arc
React starter kit based on Atomic Design
Stars: ✭ 2,780 (+4383.87%)
Mutual labels:  react-router, styled-components
react-template
An enterprise react template application showcasing - Testing strategy, Global state management, middleware support, a network layer, component library integration, localization, PWA support, route configuration, lazy loading and CI/CD
Stars: ✭ 44 (-29.03%)
Mutual labels:  react-router, styled-components
React Ssr Starter
All have been introduced React environment
Stars: ✭ 20 (-67.74%)
Mutual labels:  react-router, styled-components
book-manager
A simple personal library management application.
Stars: ✭ 48 (-22.58%)
Mutual labels:  react-router, styled-components
Molecule
⚛️ – :atom: – ⚛️ Boilerplate for cross platform web/native react apps with electron.
Stars: ✭ 95 (+53.23%)
Mutual labels:  react-router, styled-components
foliage
🍃 Style your components with performance
Stars: ✭ 29 (-53.23%)
Mutual labels:  styled-components, effector
reactube-client
A clone Youtube Web Player using React Provider Pattern, React Context and Typescript
Stars: ✭ 92 (+48.39%)
Mutual labels:  react-router, styled-components
Reeakt
A modern React boilerplate to awesome web applications
Stars: ✭ 116 (+87.1%)
Mutual labels:  react-router, styled-components
Music163 React
🔥基于React全家桶开发:「网易云音乐PC端项目」实战
Stars: ✭ 209 (+237.1%)
Mutual labels:  react-router, styled-components

Effector SSR Template

code style: prettier Commitizen friendly Conventional Commits

Note: this is template slightly outdated and will be updated as soon as possible.

How to use

  1. Press Use this template button.

  2. Clone it, install and run:

yarn install
yarn start
  • Use import {} from "effector-root" instead of "effector". All units should be created in the root domain.
  • Use createStart, withStart and useStart from page-routing.ts for pages start events.

Structure

https://sova.dev/application-structure

  • src/server.tsx — Express server, that renders React to stream
  • src/index.tsx — Node.js entry point, that have hot module replacement and imports server
  • src/client.tsx — Browser side entry point, that hydrates stores and react app
  • src/application.tsx — Application component, that have global styles and effector provider
  • src/pages/index.tsx — Pages component
  • src/pages/routes.ts — Static routes config
  • src/pages/:page-name/index.tsx — View for single specific page
  • src/pages/:page-name/model.ts — Business-logic for specific page, that contains single level logic layer
  • src/lib — Internal libraries
  • src/lib/effector — START event name to use as page property
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].