Consider moving drupalSettings and Drupal to their own hooks

Created on 29 April 2025, 13 days ago

Overview

In the frontend, we have const { drupalSettings } = window; scattered throughout the codebase. Maybe we want to this for const { Drupal } = window as any; as well.

Proposed resolution

Consider moving drupalSettings and Drupal to their own hooks in /ui/src/hooks and refactor all usages to use the new hook so it's in one single place.

User interface changes

πŸ“Œ Task
Status

Active

Version

0.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States hooroomoo

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