Mike Jolley
ab945e4a98
Performance: Optimise select shipping API calls ( https://github.com/woocommerce/woocommerce-blocks/pull/10472 )
...
* Support disabled inputs with styling
* Remove 1000ms debounce on selecting shipping rates and disable input when selecting
* Optimise rest api loading
* Fix analytics init
* Comments
* Unused after refactor
* More robust switching to prevent loop
* revert shipping controller change
* Remove ShippingAssets
* update test
* Comments
2023-08-08 11:56:19 +01:00
Seghir Nadir
2b89cbff33
Prevent double triggering select shipping on the same rate ( https://github.com/woocommerce/woocommerce-blocks/pull/8497 )
...
* Prevent selecting already selected rates
* refactor reducer
* revert changes back to only block dubplicate requests
2023-02-27 11:52:38 +01:00
Tarun Vijwani
a1526ed660
Make form components require onChange and have a default value ( https://github.com/woocommerce/woocommerce-blocks/pull/6636 )
2022-07-01 21:50:44 +04:00
Mike Jolley
0a8fe0a0c6
Remove `useSelectShippingRate` hook and adjust how local state works for `PackageRates` ( https://github.com/woocommerce/woocommerce-blocks/pull/5802 )
...
* Convert radio component to TS and support uncontrolled components
* Further radio control to typescript changes
* Combine useSelectShippingRate and useSelectShippingRates
* Remove useSelectShippingRate hook
* Move local radio checked state to PackageRates
* This is a Controlled component - update inline docs
* useSelectShippingRates -> useSelectShippingRate rename
2022-02-10 11:59:43 +00:00