Skip to content

Conversation

@r-ant-2468
Copy link

  • Added 'onRedirecting' as the preferred camelCase prop
  • Deprecated 'OnRedirecting' for backward compatibility
  • Updated tests to cover both versions

This change is non-breaking as it maintains OnRedirecting for backward compatibility while providing the camelCase onRedirecting alias to align with React standards and the other props in this HOC (like onBeforeSignin).

Checklist

  • [ x] This PR makes changes to the public API
  • I have included links for closing relevant issue numbers

- Added 'onRedirecting' as the preferred camelCase prop
- Deprecated 'OnRedirecting' for backward compatibility
- Updated tests to cover both versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants