Bug
| Bug ID Number | BUG-000134383 |
|---|---|
| Submitted | October 6, 2020 |
| Last Modified | August 5, 2025 |
| Applies to | ArcGIS Experience Builder developer edition |
| Version found | 1.1 |
| Operating System | Windows OS |
| Operating System Version | 10.0 64 Bit |
| Status | In Product Plan |
Detect the null value of the token before the login, and then check if the token exists in the componentDidUpdate function.
Code snippet:
static mapExtraStateProps = (state: IMState, props: AllWidgetProps<IMConfig>): Props => {
if (!state.token) {
return{
userLog: state.token
};
};
componentDidUpdate(){
const {userLog} = this.props
if (userLog) {
do something
}
else{
do something else`
}
}
}
Bug ID: BUG-000134383
Software:
Get help from ArcGIS experts
Download the Esri Support App