We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rax Core
import { Component } from 'rax'; class UndefinedDemo extends Component { constructor(props) { super(props); this.state = { alwaysUndefined: false, }; } render() { return ( <div> {this.state.alwaysUndefined ? undefined : undefined} <button onClick={() => { this.setState({ alwaysUndefined: !this.state.alwaysUndefined }); }} > Switch </button> </div> ) } }
reference: fix: render returns null to null empty nodes are also rebuilt(#1830) #1842
shouldUpdateComponent method should also checkundefined type.
undefined
current: undefined node is rebuilt
expected: undefined node is updated
Rax Version: 1.2.2
No response
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
The problem has been solved #2275
No branches or pull requests
⌨️
Rax Core
Minimal code and steps to reproduce the bug
reference: fix: render returns null to null empty nodes are also rebuilt(#1830) #1842
shouldUpdateComponent method should also check
undefined
type.Current and expected behavior
current:
undefined node is rebuilt
expected:
undefined node is updated
Environment
Rax Version: 1.2.2
build.json
No response
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: