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
In Twig we want to have Uncontrolled components similar to React. The point of uncontrolled components in twig, as in react, is that the user cannot control their state. In this case, control of the components is hardwired via the data-spirit-toggle data attribute to the component and cannot be turned off.
So the developer will either use a controlled component and hang or add all the attributes himself or an uncontrolled component where javascript will be directly available.
In Twig we want to have Uncontrolled components similar to React. The point of uncontrolled components in twig, as in react, is that the user cannot control their state. In this case, control of the components is hardwired via the data-spirit-toggle data attribute to the component and cannot be turned off.
So the developer will either use a controlled component and hang or add all the attributes himself or an uncontrolled component where javascript will be directly available.
The text was updated successfully, but these errors were encountered: