You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW do note that DynamicComponent is kind of(*) deprecated by -- tadaa! -- static components! I mean the new custom component system that Lasse / Ludo made in spring. Defining normal comps from JS.
One benefit of such normal components is that they work normally in the editor, the attrs are readily there etc.
(*)kind of deprecated with the note that sure can be that DCs will also be useful in some case where you actually need the dynamicity -- but I bet in almost all cases what you want is actually just a script-defined static component
@antont The new stuff is based on DC. Not literally inheriting the class but it uses the same mechanisms of IComponent::IsDynamic() etc. So if this gets implemented using those IComponent properties it will work for both new and old.
DC is not going anywhere either way :) Its very hand to put data in there if you dont have a very structured multi-attribute component.
Edit: The new stuff essentially sends a DC over the network with a associated name and "stamps it out" as a static one, once its declared by the server (can be client initiated too afaik).
Would be handy.
The text was updated successfully, but these errors were encountered: