PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/scripts/element/index.js +9 -0 23.8.0 → trunk View file →
@@ -460,8 +460,11 @@
460 460 var { Provider, Consumer } = Context;
461 461 var ForwardRef = (0, import_react.forwardRef)(() => {
462 462 return null;
463 463 });
464 + var Memo = (0, import_react.memo)(() => {
465 + return null;
466 + });
464 467 var ATTRIBUTES_TYPES = /* @__PURE__ */ new Set(["string", "boolean", "number"]);
465 468 var SELF_CLOSING_TAGS = /* @__PURE__ */ new Set([
466 469 "area",
467 470 "base",
@@ -848,8 +851,14 @@
848 851 );
849 852 case ForwardRef.$$typeof:
850 853 return renderElement(
851 854 type.render(props),
855 + context,
856 + legacyContext
857 + );
858 + case Memo.$$typeof:
859 + return renderElement(
860 + (0, import_react.createElement)(type.type, props),
852 861 context,
853 862 legacyContext
854 863 );
855 864 }