Forum Academy Marketplace Showcase Pricing Features

Change custom state of a page within an RU

HI Guys
To navigate through single-page-app I use a custom state called “nav”. How can I manipulate that custom state “nav” within a reusable element?


Create a custom state for the reusable element, and then set the state for that when you set the state of the external custom state.

Check this guide posted previously on the forum - A guide to advanced use of reusables



ty. I think its time to buy my first plugin^^

I don’t believe you need a plugin to move the state from page->reusable element->back to page.

I did a quick test on one of my apps just now and was able to pass a nav_test between the re-usable header and the page.

I have RU in a RU.