Closed MartinEls closed 2 months ago
Yes I think generating the data would be better. While it won't always be feasible, I want these examples to be as easy for people to copy/paste and replicate themselves. So if we can remove the csv file and pandas dependencies that'd be ideal.
If you want, you can use the same data generation logic and columns HTMX did. You may already know this but all their examples you can see their "server" code in the front end if you inspect the page (I just added a screenshot to the HTMX issue). If you have your own ideas for data to generate that'd look good that's fine too.
Data generation process is now contained in a small function, very similar to the htmx example
Really awesome - thanks so much!
As discussed, the infinite scroll demo.
I added pandas to the requirements, but I could modify it to generate some data in place to go without the extra dependancy.