keppelen / react-facebook-login

A Component React for Facebook Login
1.18k stars 406 forks source link

Replaced classes to stateless components and used hooks to replace li… #274

Open daruj opened 4 years ago

daruj commented 4 years ago

Why: To avoid warnings an conflicts with future versions.

- componentWillReceiveProps has been renamed, and is not recommended for use.
- Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work

What have I done:

sangdth commented 4 years ago

The fail actually just eslint check. I'm really looking forward this PR.