Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does your "nice reactive table with search" retain its current state (including scrolling!) if I click on a link that opens another page, and then back out?

Does it let me link to page N of results?

As a user, I find that, in practice, it's these kinds of things that frustrate me far more than the lack of instant reactivity, whereas simple form with a submit button and a paginated table below works just fine.



Implementing state isnt very difficult.

I think youre thinking of a very static use case again. Link to page number doesnt make too much sense when the data changes (and do you really want to refresh the whole page just to change the table data?), but yes thats easy to implement to.

It would just look something like let pageNum = params.page

<Table defaultPage={pageNum}/>

Now think about if you need to implement a more complex table in an admin UI that lets you filter / sort, delete/add rows, etc. Thats where reactivity is really really nice. All you have to do is something like items = items.filter(i -> i.name.startsWith(input)) and youre done.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: