DEV Community

0 seconds of 4 minutes, 58 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
04:58
 
neoan
neoan

Posted on

3 2

5min JS - dynamic placeholder text

Placeholder text how you want it to be

This is an older project of mine I just updated and wanted to take the opportunity to finally try out dev.to's video function.

What it is addressing

Rather than generating static placeholder text, this little helper generates the placeholder text dynamically, allowing you to:

  • account for differences in dynamic content
  • easily switch between development & "real" content
  • check loading behaviour

YouTube mirror

npm

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more