You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update Object.assign() example to include modern spread operator alternative #705
Update Object.assign() example to include modern spread operator alternative
Summary
The current example for "Set default objects with Object.assign" should be updated to include the modern spread operator syntax as the preferred approach, while keeping Object.assign() for reference.
Current State
The documentation currently shows Object.assign() as the "good" example:
Activity
spartanatreyu commentedon Aug 11, 2025
Duplicate of #286
myltik1702 commentedon Nov 24, 2025
#705
docs: update Object.assign() example to prefer spread operator syntax