Preparing for system design interviews?  Try bugzed.com →

babel-plugin-jsx-display-if

JSON →
library 3.0.0 ·javascript
verified Jun 17, 2026

Babel plugin that adds an `display-if` attribute to JSX elements to conditionally render them, inspired by Angular's ng-if. v3.0.0 (latest) is a stable release with no active development. It transforms `<Comp display-if={condition} />` into `{condition && <Comp />}`, making conditional rendering more readable for non-developers. Compared to inline ternaries or helper functions, this plugin provides a declarative, template-like syntax. Only compatible with Babel 7+ and requires the JSX transform. Minimal footprint with no runtime dependencies.

total hits 11
actors 4 distinct systems
last hit 17d ago AhrefsBot
GPTBot
4
ByteDance
2
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇸🇬 Singapore · 🇩🇪 Germany