@wordpress/block-editor
Version:
12 lines (11 loc) • 489 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MAX_NESTING_DEPTH = void 0;
// Hermes has a limit for the call stack depth to avoid infinite recursion.
// When creating a deep nested structure of inner blocks, the editor might exceed
// this limit and crash. In order to avoid this, we set a maximum depth level where
// we stop rendering blocks.
const MAX_NESTING_DEPTH = exports.MAX_NESTING_DEPTH = 10;
//# sourceMappingURL=constants.native.js.map
;