[PP-1] Can hyperscriptify wrap rendered React components in the React Router provider

Created on 27 January 2025, 6 days ago

Overview

This is a follow on task from Focus mode for global regions Active based on this series of comments https://git.drupalcode.org/project/experience_builder/-/merge_requests/5...

In that issue, a fast solution was implemented to allow to access the currently selectedComponent via the drupalSettings global. This was done because when inputs are re-rendered they are not wrapped by React Router and thus are unable to access useParams to access the selectedComponent from the route.

Proposed resolution

We already have a solution to wrap these rendered components with the Redux store. Hopefully something similar can be done with the Router.

📌 Task
Status

Active

Version

0.0

Component

Page builder

Created by

🇬🇧United Kingdom jessebaker

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

Comments & Activities

Production build 0.71.5 2024