/
1.13-fixed_bad_code

1.13-fixed_bad_code

1.13-vat_change_updates_parent handled the same state data in two components, this is bad React programming

Here is a cleaner implementation. The vatRate is held in the Calculator only.

 

Related content