@sveltejs/kit@2.50.0
Breaking Changes📦 sveltekitView on GitHub →
⚠ 1 breaking🔧 1 symbols
Summary
This minor release removes the deprecated `buttonProps` from experimental remote form functions, enforcing a new, cleaner syntax for handling form actions on buttons.
⚠️ Breaking Changes
- Removed the deprecated `buttonProps` from experimental remote form functions. Users should now use the new syntax: `<button {...myForm.fields.action.as('submit', 'register')}>Register</button>`.
Migration Steps
- Replace usage of `buttonProps` in experimental remote form functions with the new attribute spreading syntax on the button element, e.g., `{...myForm.fields.action.as('submit', 'register')}`.