A babel plugin that provides some directives for react(JSX), similar to directives of vue.
x-model
warning messagesx-class
directive for conditionally joining classNames togetherx-if
is nested under x-else
and x-else-if
, an error is reportedx-model-hook
directive for function component with useState hook, and the x-model
can only be used in class component nowx-model
x-if
and x-else-if
and x-else
x-show
x-for
x-model