Skip to content

Deprecation: control flow directive

Dylan Piercey edited this page Dec 4, 2018 · 1 revision

The inline control flow attributes (<div if(x)>, <div while(true)>, <div for(;true;)>) have been deprecated in favor of using their tag counterparts.

Here is an example of how you can migrate this (and hopefully illustrates why we are doing this)

<img class="large-image placeholder" src="" aria-describedby="my-fancy-component" if(>

Should become

  <img class="large-image placeholder" src="" aria-describedby="my-fancy-component"/>
You can’t perform that action at this time.