# Lazy Load With Proxy
If you have read the core concepts of Retux, you may notice the flexibility of Retux relies heavily on manipulations on simple objects. See combineObjects
, combineUniqueObjects
and createActionCreators
. To boost init performance Retux offers Proxy version of these functions.
combineObjects
->proxyCombineObjects
combineUniqueObjects
->proxyCombineUniqueObjects
createActionCreators
->proxyActionCreators
Features:
- Same signature. Can be swapped directly.
- Object properties are only created and cached on first visit.
Object.keys
,Object.prototype.hasOwnProperty
and other property descriptor related methods work as usual.- Fallback to the simple counterparts when Proxy is not supported.