Wp React Starter

screenshot of Wp React Starter

WordPress Plugin Boilerplate using modern web techs like TypeScript, SASS, and so on... on top of a local development environment with Docker and predefined GitLab CI for continous integration and deployment!

Overview:

WP React Starter is a WordPress React boilerplate that was created by devowl.io for the development of their WordPress plugins. It allows developers to create WordPress plugins using React, TypeScript, and object-oriented PHP in a customizable Docker development environment.

Features:

  • Instant no-config plugin creation with create-wp-react-app
  • React Frontend for reactive user interfaces (with PHP fallback for server-side rendering)
  • TypeScript for typesafe frontend development
  • PHP in an object-oriented style with namespaces for better backend code
  • Docker development environment for easy setup
  • CI/CD integration for automated code quality checks and release management
  • Familiar React API & patterns with TypeScript
  • MobX for state management
  • webpack build for assets
  • SASS stylesheets compiler for next-gen CSS
  • PostCSS for transforming SCSS to CSS
  • Minified sources automatically generated for production
  • Grunt for automation tasks
  • ESLint configuration for proper linting
  • TypeDoc for JavaScript Documentation
  • WP HookDoc for Filters & Actions Documentation
eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.