facebookarchive / fixed-data-table

A React table component designed to allow presenting thousands of rows of data.
http://facebook.github.io/fixed-data-table/
Other
4.3k stars 553 forks source link

Migrating from React.PropTypes #487

Closed Odrin closed 7 years ago

Odrin commented 7 years ago

Fix React deprecation warning.

facebook-github-bot commented 7 years ago

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

If you are contributing on behalf of someone else (eg your employer): the individual CLA is not sufficient - use https://developers.facebook.com/opensource/cla?type=company instead. Contact cla@fb.com if you have any questions.

facebook-github-bot commented 7 years ago

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

travi commented 7 years ago

@gaearon anything you can do to nudge this internally? this is the last package preventing the react 15.5 upgrade on a few projects for my team

gaearon commented 7 years ago

Sure thing.

travi commented 7 years ago

Great, thanks!

gaearon commented 7 years ago

@kyldvs will review this soon.

kyldvs commented 7 years ago

I think this is okay - really I have no idea how this repo works though :)

gaearon commented 7 years ago

Can you get a patch release out?

wcjordan commented 7 years ago

Hey @kyldvs & @gaearon, I'm one of the maintainers of the fixed-data-table-2 fork. You should be able to create a release with npm run publish-package. We ran into some issues because react-docgen doesn't support create-react-class yet, but I'm working on a PR for that.

While you're active here, would it be possible to revisit adding a deprecation notice to the repo that points users to fixed-data-table-2 and react-virtualized? It's been discussed for a while, but the repo's been left in limbo (#468 & #408).

P.S. Thanks for all your hard work on React & Redux. It's made my life incredibly better both in working on web applications and in mentoring and training others. The effort you put into documentation & tooling means everything.

tkirda commented 7 years ago

I don't see why it should be marked as deprecated. Usage shows more than 50K downloads per month. More than double over fixed-data-table-2. It is stable and works well (at least for us). Maybe there are cases where it is not sufficient and then you can freely choose to use other packages.

And with new version of react that is coming out soon, I trust it will get necessary updates and we can continue using it. We use it on a project with a very large code base and switching to something else would be time consuming and risky. Deprecating would just be not fare to current user base.

These rants about deprecation is just noise and not really helping anyone.

wcjordan commented 7 years ago

The issue is that there have been 5 commits since November 2015 (8 if you include merge commits). Many users have filed issues and pull requests against the repo, and there are no active maintainers to address them.

tkirda commented 7 years ago

I know this is not ideal but that is reality. Low number of changes and popularity also shows that it is good enough.

kyldvs commented 7 years ago

@gaearon: Yes I asked @pieterv to publish a new version, should happen this morning. I don't actually have npm access for the project :)

Re: Deprecation/no active maintainers: We are aware and have been discussing it internally for a long time. Right now I do not have any updates related to that.

wcjordan commented 7 years ago

Thanks for the update, Kyle. Please let me know if there's anything we can do from the FDT2 end to help with the issues around maintenance.

kyldvs commented 7 years ago

Looks like it should be at 0.6.4 now, thanks @pieterv :)

https://www.npmjs.com/package/fixed-data-table

pieterv commented 7 years ago

let me know if i broke anything :D

gaearon commented 7 years ago

Thanks!

travi commented 7 years ago

thank you for getting this pushed through!

travi commented 7 years ago

could we get #488 pushed through too for the React.createClass warnings?