original_docstring: Determines if the component should rerender upon receiving new props and state.
  
          The arguments, newprops and newstate, reflect the props and state that change: they
          may be a subset of the props and the state. When this function is called,
          all props and state of this Component are the old values, so you can compare
          `component.props` and `newprops` to determine changes.
  
          By default, this function returns true, even if props and state are unchanged.
  
          Args:
              newprops: the new set of props
              newstate: the new set of state
          Returns:
              Whether or not the Component should be rerendered.
          
docstring: Determines if the component should rerender upon receiving new props and state.
  The arguments, newprops and newstate, reflect the props and state that change: they
  may be a subset of the props and the state. When this function is called,
  all props and state of this Component are the old values, so you can compare
  `component.props` and `newprops` to determine changes.
  
  By default, this function returns true, even if props and state are unchanged.
docstring_tokens: Determines if the component should rerender upon receiving new props and state . The arguments newprops and newstate reflect the props and state that change : they may be a subset of the props and the state . When this function is called all props and state of this Component are the old values so you can compare ` component . props ` and ` newprops ` to determine changes . By default this function returns true even if props and state are unchanged .
code: def should_update(self, newprops: PropsDict, newstate: tp.Mapping[tp.Text, tp.Any]) -> bool:
          """Determines if the component should rerender upon receiving new props and state.
  
          The arguments, newprops and newstate, reflect the props and state that change: they
          may be a subset of the props and the state. When this function is called,
          all props and state of this Component are the old values, so you can compare
          `component.props` and `newprops` to determine changes.
  
          By default, this function returns true, even if props and state are unchanged.
  
          Args:
              newprops: the new set of props
              newstate: the new set of state
          Returns:
              Whether or not the Component should be rerendered.
          """
          del newprops, newstate
          return True
code_tokens: def should_update ( self , newprops : PropsDict , newstate : tp . Mapping [ tp . Text , tp . Any ] ) -> bool : del newprops , newstate return True
short_docstring: Determines if the component should rerender upon receiving new props and state.
short_docstring_tokens: Determines if the component should rerender upon receiving new props and state .
comment: """Determines if the component should rerender upon receiving new props and state.
  
          The arguments, newprops and newstate, reflect the props and state that change: they
          may be a subset of the props and the state. When this function is called,
          all props and state of this Component are the old values, so you can compare
          `component.props` and `newprops` to determine changes.
  
          By default, this function returns true, even if props and state are unchanged.
  
          Args:
              newprops: the new set of props
              newstate: the new set of state
          Returns:
              Whether or not the Component should be rerendered.
          """