babel-plugin-jsx-wrap-if
JSON →Babel plugin for React that conditionally wraps JSX elements based on a prop. Version 0.1.1, no active maintenance. When the `wrap-if` prop is truthy, the element wraps its children; when falsy, the children are rendered without the wrapper. Simple alternative to inline ternaries or helper components. No updates since 2019, likely abandoned. Only 1 GitHub star. Use for legacy projects or simple conditional wrapping without extra components.
Traffic · last 30 days stale · no recent hits
total hits 13
actors 4 distinct systems
last hit 16d ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇩🇪 Germany
Resources
API endpoints
compatibility /v1/registry/babel-plugin-jsx-wrap-if/compatibility