Add core/once to prevent duplicate rendering

Created on 5 October 2024, 8 months ago

Problem/Motivation

During troubleshooting, debugging tools like console.log() show that the code to render the calendar is firing multiple times, typically seven or more times for a page containing a single calendar.

Proposed resolution

Implement the once() library included in Drupal core to ensure that each calendar is only rendered once.

Feature request
Status

Active

Version

3.0

Component

JavaScript

Created by

🇨🇦Canada mandclu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024