Equivalent to Bubble's "Reusable Elements and State Inputs" in Wappler

Hey everyone…

So as I developed in Bubble, I made a huge amount of use of their “Reusable Elements”, which are sections of a design you can define once then re-use (instantiate) in different parts of your project.

So in some ways they feel like a Server Side Include.

Except that you could define “states” on them which would allow each instance to be passed and to return different values. So they became the HTML equivalent of a software procedure call.

Now I want to do the same thing in my Wappler based design, and I’m wondering:

  1. Is this possible
  2. The best way to do it

I’d love to hear your thoughts!

Best wishes,
Antony.

PS - here are some use cases…

A use case I will come across shortly is a booking form which can allow up to 6 people to book on an event. The code for each person to book is the same, but the values to pass in and out of that code is different.

Other use cases may not be so linear in their structure, and I may just need the same GUI to be displayed in different parts of my app depending on the situation, but with different data each time.

Community Page
Last updated: