# Dev Diary Ep39 - Introducing Portals for Custom Components

**URL:** <https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811>\
**Category:** Elements\
**Created:** [October 1, 2024, 3:27pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811 "2024-10-01T15:27:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 1, 2024, 3:27pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/1 "2024-10-01T15:27:28Z")

</div>

Hey there,

We’re working hard on all your feedback and today we’re pleased to announce, [Portals for Custom Components](https://docs.realmacsoftware.com/elements-docs/elements-language/templates/portal) (and no this is not just another random feature). This feature came about because of our need to move elements in the DOM to fix the layering issues you’ve all been experiencing when using menus, modals, and galleries 😱

Portals will allow us to fix all the layering issues — you can look forward to those new components in the next few betas 🤞

This weeks dev diary video is really aimed at those of you that are interested in building custom components, if you’re all about the WYSIWYG, then next weeks dev diary will be for you 😉

These changes will be available in beta 13, due later today/tomorrow.

[![](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/a/6/a65e1befe746ad7a33e2c2b7f86c767321d16bd6.jpeg "Dev Diary Ep39 — Introducing Portals for Custom Components") ](https://www.youtube.com/watch?v=Qa6-l9NdjMI)

## Get The Beta

You can [sign-up here to be notified](https://www.realmacsoftware.com/rapidweaver/elements/)when the Elements beta is publicly available.

## Thanks

We’re listening to all your feedback and working super-hard to make Elements the perfect website builder ☺

If you have any thoughts about today’s Dev Dairy please post them below, we really appreciate the feedback.

See you next week 👋

Thanks,

Dan & Team Realmac.

---

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [October 1, 2024, 4:12pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/2 "2024-10-01T16:12:15Z")

</div>

Thanks @Dan - as you say ‘Good stuff’ - is the ‘pageStart’ before the doctype? Keep going.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 1, 2024, 4:18pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/3 "2024-10-01T16:18:03Z")

</div>

> [@Bill](#):
>
> as you say ‘Good stuff’ - is the ‘pageStart’ before the doctype?

Yup, we added it just for you PHP lovers!

---

<div class="post-metadata">

**Author:** ![MotlBrazil](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@MotlBrazil](https://forums.realmacsoftware.com/u/MotlBrazil)\
**Post date:** [October 1, 2024, 4:58pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/4 "2024-10-01T16:58:49Z")

</div>

Dear Dan,  
I use Rapidweaver since 2007.  
In that year I have build with an inestimable help or your programme the site of AgribusinessWatch, Observatorio do Agronegócio in portuguese ([observatoriodoagronegocio.com.br](http://observatoriodoagronegocio.com.br) and [agribusinesswatch.com](http://agribusinesswatch.com)). Go there and have a look.  
But in 2011, due to others activities, I was obliged to stop it.  
At that time I used Rapidweaver 3 or 4.  
Now I am afraid to restart its maintenance considering the difference of programme versions.  
How to manage this problem?  
Thanks for your attention and your time.  
Maurício Galinkin  
phone number redacted  
Brasília, DF.  
Brazil

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 1, 2024, 5:19pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/5 "2024-10-01T17:19:00Z")

</div>

Hi @MotlBrazil,

I’d recommend using RapidWeaver Classic for now, and take a look at Elements once it launches as a public beta later this year.

If you need any help with opening your projects, or re-doing them in RW Classic, just start a new thread here on the forum and we’ll do our best to help.

---

<div class="post-metadata">

**Author:** ![Flash](https://avatars.discourse-cdn.com/v4/letter/f/f475e1/32.png) [@Flash](https://forums.realmacsoftware.com/u/Flash)\
**Post date:** [October 1, 2024, 6:35pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/6 "2024-10-01T18:35:17Z")

</div>

I presume the JS/resource libraries for which we are creating IDs are something RM can publish as a list for developers to access, similar to what is shown in the demo. Otherwise, I can see twenty different third-party developers creating their own IDs, which could still result in 20 versions of React.js, for example. Am I missing something?

---

<div class="post-metadata">

**Author:** ![Flash](https://avatars.discourse-cdn.com/v4/letter/f/f475e1/32.png) [@Flash](https://forums.realmacsoftware.com/u/Flash)\
**Post date:** [October 1, 2024, 6:37pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/7 "2024-10-01T18:37:36Z")

</div>

BTW: It should be becoming rather obvious to everyone how special this is becoming. The attention to details and efficiencies is outstanding.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 1, 2024, 9:35pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/8 "2024-10-01T21:35:56Z")

</div>

> [@Flash](#):
>
> I presume the JS/resource libraries for which we are creating IDs are something RM can publish as a list for developers to access, similar to what is shown in the demo.

Yup, we’re aware of this and it’s on our list!

---

<div class="post-metadata">

**Author:** ![anon68150607](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon68150607](https://forums.realmacsoftware.com/u/anon68150607)\
**Post date:** [October 2, 2024, 9:52pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/9 "2024-10-02T21:52:29Z")

</div>

Great stuff _(as always)_ Dan! One thing that I’m curious about is how non-CDN based resources are handled in custom components? With HTTP/2 ‘multiplexing’, the need for sharded domains (to increase the max number of connections) is no longer necessary, and with privacy and performance concerns, more folks are choosing to [self-host](https://fonts.google.com/knowledge/using_type/self_hosting_web_fonts) many of these resources.

Is there the ability for a component to specify the addition of resources in a similar manner to portals in a project? For instance, if I create a number of components using the id `com.bryanrieger.*` would I be able to ensure that the required resources were only added to the project once (or as required)?

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 2, 2024, 10:05pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/10 "2024-10-02T22:05:11Z")

</div>

> [@anon68150607](#):
>
> For instance, if I create a number of components using the id `com.bryanrieger.*` would I be able to ensure that the required resources were only added to the project once (or as required)?

Yes, for sure!

---

<div class="post-metadata">

**Author:** ![sbchasin](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/sbchasin/32/26943_2.png) [@sbchasin](https://forums.realmacsoftware.com/u/sbchasin)\
**Post date:** [October 2, 2024, 11:05pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/11 "2024-10-02T23:05:32Z")

</div>

Was this week’s beta released yet??

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 2, 2024, 11:13pm UTC](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/12 "2024-10-02T23:13:39Z")

</div>

Not yet, we wanted to get a couple more fixes in, should be out later today (Thursday).
