Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
Form doesn't rerender when going back from dirty state to pristine state
What is the expected behavior?
Form should rerender when going back from dirty state to pristine state
Sandbox Link
https://codesandbox.io/s/r9e0k
- Change value from 'bla' to some other value
- You'll see 'Is pristine: false'
- Change value back to 'bla'
- You'll see that 'Is pristine' is still false
- Click 'get state' button
- In the form state in console you'll see that pristine is true
Other information
Works fine in react-final-form@4.1.0
Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
Form doesn't rerender when going back from dirty state to pristine state
What is the expected behavior?
Form should rerender when going back from dirty state to pristine state
Sandbox Link
https://codesandbox.io/s/r9e0k
Other information
Works fine in react-final-form@4.1.0