Issue #2110Opened July 1, 2019by adamwpe0 reactions

[QUESTION] Deleting the DomComponent within init()

Question

I need to limit certain Dom Components to one, because it would cause issues when the page is published - but I can't seem to find a way to delete the component within its own init().

Is there a better way, as it doesn't seem healthy to delete someone before it's fully created.

Thanks

Answers (1)

artfJuly 12, 20190 reactions

It would make sense to move such logic to a parent component

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.