Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit 77adb77

Browse files
authored
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 Esri/calcite-design-system#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. Esri/calcite-design-system#7521
1 parent 78485cf commit 77adb77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

react/src/App.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import React, { useState } from 'react';
2+
import "@esri/calcite-components/dist/components/calcite-button.js";
3+
import "@esri/calcite-components/dist/components/calcite-icon.js";
4+
import "@esri/calcite-components/dist/components/calcite-slider.js";
25
import {
36
CalciteButton,
47
CalciteIcon,

0 commit comments

Comments
 (0)