PDB React data transfer between the two react components

Created on 9 December 2018, about 6 years ago
Updated 31 July 2023, over 1 year ago

Hi Team,

Good day! I am new to react and need your help on below query.
I want to use PDB module for my project and it has React and Drupal integration.
I have home page like /home and it has two react blocks embedded to that page. For example i have list of products and when i click on add icon, another react component which is header (Cart icon) count need to update. Can you suggest how this communication happens between the components?

Also how /home page data can be transferred to another page like /confirmation page.

Thanks in advance.

Krishnajee

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India Krishnajee

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024