Skip to content

CCR don't fully load all components on initial load or refresh (f5) #7975

@arjanvanzutphen

Description

@arjanvanzutphen

Check existing issues

Actual Behavior

Calcite Components in React don't get completely loaded on the initial load. It's mostly icons that are directly not visible.
After saving the right file (containing the components) in VS Code, the page gets refreshed and the application shows all components.

Before (behavior after a f5 refresh):
image
After (behavior after saving the App.jsx in VS Code:
image

Expected Behavior

All components are shown as they should on the initial load.

Reproduction Sample

https://github.com/arjanvanzutphen/ccr-initial-loading-issue

Reproduction Steps

  1. Clone the repo
  2. Open the files in your IDE, I've used VS Code
  3. Run npm install and npm run dev
  4. A browser will show the page at, most likely http://localhost:5173
  5. The banana icon is visible and the slider component is missing the 50 value on it's line.
  6. Hit save (or ctrl+s) in VS Code and the icon becomes visible and the slider gets updated

Reproduction Version

1.9.1

Relevant Info

Edge (117), Chrome (116), Firefox (118)

Regression?

Priority impact

p3 - want for upcoming milestone

Impact

Missing components results in debugging activities where a 'save' of a certain file would suffice, but it's not always clear which file

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/eslint-plugin-calcite-components

Esri team

Professional Services - Services Delivery

Metadata

Metadata

Assignees

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.Professional Services - Services DeliveryIssues logged by Professional Services - Services Delivery team membersbugBug reports for broken functionality. Issues should include a reproduction of the bug.calcite-components-reactIssues specific to the @esri/calcite-components-react package.spikeIssues that need quick investigations for time estimations, prioritization, or a quick assessment.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions