Razzle Template
Theme by
Effector |Updated:
16 May 2022
|65 Stars
SSR template with React, Effector, TypeScript, ReactRouter, and StyledComponents
Categories
Overview
Effector SSR Template is a powerful tool designed for developers who want to create server-side rendered applications with React while utilizing Effector for state management. This template aims to streamline the development process by providing a structured approach and built-in configurations, making it easier to set up and manage complex applications. While the current version may be slightly outdated, it remains a reliable foundation for any developer looking to harness the capabilities of Effector in a server-side context.
Features
- Prettier Code Style: The template enforces a clean and consistent code style using Prettier, ensuring your code remains readable and maintainable.
- Commitizen Friendly: Encouraging proper version control practices, the template supports Commitizen for structured and conventional commit messages.
- Efficient Server Structure: The template includes a well-defined directory structure, separating server and client code for improved organization and clarity.
- Hot Module Replacement: Enabled in the Node.js entry point, this feature facilitates faster development by allowing real-time updates without server restarts.
- Easy Routing Setup: With preconfigured page routing, developers can quickly define static routes and optimize navigation within the application.
- Effector Integration: The template seamlessly integrates Effector’s functionalities, encouraging best practices with the use of
createStart, withStart, and useStart for managing page-specific events. - Application Component: A dedicated application component is provided to house global styles and Effector providers, centralizing your application’s settings.
- Business Logic Separation: Each page can maintain its own business logic through dedicated model files, promoting modularity and separation of concerns in the application architecture.