Babel Plugin React Directives Versions Save

A babel plugin that provides some directives for react(JSX), similar to directives of vue.

v2.0.1

2 years ago

v2.0.0

2 years ago

v1.1.3

2 years ago

v1.1.2

2 years ago

v1.1.1

4 years ago
  • Optimization: Optimized for x-model warning messages

v1.1.0

4 years ago
  • Feature: Added x-class directive for conditionally joining classNames together
  • Optimization: Split the runtime into multiple independent files to reduce runtime bundle size

v1.0.2

4 years ago
  • Bug: Fix bug that when x-if is nested under x-else and x-else-if, an error is reported

v1.0.0

4 years ago
  • Feature: Added x-model-hook directive for function component with useState hook, and the x-model can only be used in class component now
  • Optimization: In some cases use the runtime instead of the AST code
  • Optimization: Fix some problem of x-model
  • Optimization: Improved stability

v0.1.1

4 years ago
  • Optimization: Update some documents

v0.1.0

4 years ago
  • Feature: Support for x-if and x-else-if and x-else
  • Feature: Support for x-show
  • Feature: Support for x-for
  • Feature: Support for x-model