Hydration Overlay Versions Save

Overlay for hydration errors with explicit diff between renders.

@builder.io/[email protected]

3 months ago

Patch Changes

  • ee99699: Fix: remove filename checks (improves hydration error check)

@builder.io/[email protected]

4 months ago

Patch Changes

  • 4154b00: add missing type: 'module' config

@builder.io/[email protected]

4 months ago

Patch Changes

  • 6a3bf11: Chore: use bunchee to build lib
  • cb37e20: Style: add ltr direction style in Overlay.tsx
  • 6a3bf11: fix webpack import

@builder.io/[email protected]

5 months ago

Patch Changes

  • 669ff5f: - Feature: new webpack plugin:

    const {
      withHydrationOverlayWebpack,
    } = require("@builder.io/react-hydration-overlay/webpack");
    
    /** @type {import('next').NextConfig} */
    const nextConfig = {
      reactStrictMode: true,
      webpack: (config, options) => {
        config = withHydrationOverlayWebpack({
          appRootSelector: "#__next",
          isMainAppEntryPoint: (entryPointName) =>
            !options.isServer &&
            (entryPointName === "pages/_app" || entryPointName === "main-app"),
        })(config);
        return config;
      },
    };
    
    module.exports = nextConfig;
    

@builder.io/[email protected]

5 months ago

Patch Changes

  • 13bed88: Remove console.logs

  • 13bed88: Fix ESM issues:

    • __dirname not being available in Nextjs plugin
    • Overlay import not having explicit .js extension