Hacker0x01 / react-datepicker

A simple and reusable datepicker component for React
https://reactdatepicker.com/
MIT License
7.89k stars 2.23k forks source link

Define the imports and write clear docs (hatemail) #3773

Open creative-eye opened 1 year ago

creative-eye commented 1 year ago

Is your feature request related to a problem? Please describe. Yes, I need to play around in the web console on your website to figure out how to make things work.

Describe the solution you'd like Define a clear documentation with imports shown in the code examples that you have. This is the reason why i do not use open source, all creators are too lazy to define their APIs in an easy, concise, easy to find way. If you still feel it is too hard to help us use your code at least show what libraries you are using: eg: Lodash (range method), getYear (date-fns), etc in the recipes provided.

Describe alternatives you've considered I considered buying a plane ticket and spreading someones head across the wall. Do you remember: "Always code as the person using your code is a dangerous psycho"?

Additional context I know it's hard, I know it's free, but frankly I would much rather code my own picker that waste hours on recipes when short, clear documentation would suffice. And something else, when you are done, take a JS noob and ask him to use your code. Do multiple scenarios and see how it works. And no this is not going above and beyond, this should be the standard to prevent wasting hours of debugging source code of others...

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.