Skip to content

Conversation

@wssgcg1213
Copy link
Member

Error case:

function Foo(props) {
  return (
    <View className="container">
      <div x-slot:content>
        <Inviter foo="bar">
          <div x-slot:extra>{props.foo}</div>
        </Inviter>

        <View>1</View>
        <View x-if={props.condition}>2</View>
        <View>3</View>
      </div>
    </View>
  )
}

@wssgcg1213 wssgcg1213 changed the title Fix/to get exist Fix: avoid error to get exist sibling. Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants