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

Commit

Permalink
fix(react): add back CC imports due to potential stencil bug (#269)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
benelan authored Oct 26, 2023
1 parent 78485cf commit 77adb77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions react/src/App.js
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 77adb77

Please sign in to comment.