ReactDevelopmentServerMiddlewareExtensions Class

Definition

Extension methods for enabling React development server middleware support.

public ref class ReactDevelopmentServerMiddlewareExtensions abstract sealed
public static class ReactDevelopmentServerMiddlewareExtensions
type ReactDevelopmentServerMiddlewareExtensions = class
Public Module ReactDevelopmentServerMiddlewareExtensions
Inheritance
ReactDevelopmentServerMiddlewareExtensions

Methods

UseReactDevelopmentServer(ISpaBuilder, String)

Handles requests by passing them through to an instance of the create-react-app server. This means you can always serve up-to-date CLI-built resources without having to run the create-react-app server manually.

This feature should only be used in development. For production deployments, be sure not to enable the create-react-app server.

Applies to