2017-11-01 1 views
0

서버 측 렌더링이있는 MaterialUI가있는 MaterialUI를 사용하고 있습니다. 모든 것이 엉망으로 보이지만 React는 서버 측 및 클라이언트 측 마크 업과 일치하지 않는다고 불평하고 있습니다. 내가 도대체 ​​뭘 잘못하고있는 겁니까? Warning: Prop 'htmlFor' did not match. Server: "undefined-undefined-CurrentValue-9124" Client: "undefined-undefined-CurrentValue-51839"Material-UI SSR 마크 업이 클라이언트와 일치하지 않습니다.

 <TextField 
      className="mr-3" 
      disabled={true} 
      floatingLabelText="Current Value" 
      value={props.inputValue} 
     /> 

답변

관련 문제