From 77adb77d5c0493b523a32973325d4b0da2928533 Mon Sep 17 00:00:00 2001 From: Ben Elan Date: Thu, 26 Oct 2023 10:57:32 -0700 Subject: [PATCH] fix(react): add back CC imports due to potential stencil bug (#269) There is an issue with auto-importing and defining calcite components using the react wrapper via https://github.com/Esri/calcite-design-system/pull/7185 It appears to be a Stencil bug related to our SSR patch which dynamically imports the web components to prevent them from rendering on the server. https://github.com/Esri/calcite-design-system/pull/7521 --- react/src/App.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/react/src/App.js b/react/src/App.js index 2dd4e9a5..0f48c5c7 100644 --- a/react/src/App.js +++ b/react/src/App.js @@ -1,4 +1,7 @@ import React, { useState } from 'react'; +import "@esri/calcite-components/dist/components/calcite-button.js"; +import "@esri/calcite-components/dist/components/calcite-icon.js"; +import "@esri/calcite-components/dist/components/calcite-slider.js"; import { CalciteButton, CalciteIcon,