Загрузка видео...

Не удалось загрузить видео

На главную

server-side filtering has been achieved internally for bazza/ui's data table filters 🤯 we provide you top tier UI/UX and fully managed state + logic you share the filter state with anything — TANSTACK table, query, nuqs, SWR — it's up to you coming soon.

18,523 просмотров • 1 год назад •via X (Twitter)

Комментарии: 12

Фото профиля Jay Ghiya
Jay Ghiya1 год назад

@bazzaui @tan_stack @nuqs47ng We just did this with tanstack router plus sadman Shadcn table great work. I think using tanstack router is way simpler and maintainable than nuqs

Фото профиля RTTS
RTTS1 год назад

Testing Salesforce presents unique challenges due to its complexity, scalability and customizability. ​ RTTS can plan, design & automate a successful testing process for you.

Фото профиля Chetan Chinchulkar
Chetan Chinchulkar1 год назад

@bazzaui @tan_stack @nuqs47ng Noiceeee 🤩

Фото профиля kian bazza
kian bazza1 год назад

@bazzaui @tan_stack @nuqs47ng Ayyy thanks Chetan :)

Фото профиля Gaurav
Gaurav1 год назад

@bazzaui @tan_stack @nuqs47ng Can't wait😍😍

Фото профиля kian bazza
kian bazza1 год назад

@bazzaui @tan_stack @nuqs47ng Wooooooo

Фото профиля james
james1 год назад

@bazzaui @tan_stack @nuqs47ng i can't wait to try this! brilliant

Фото профиля kian bazza
kian bazza1 год назад

@bazzaui @tan_stack @nuqs47ng Thanks James, looking forward to hearing your experience and feedback :)

Фото профиля Rakesh
Rakesh1 год назад

@bazzaui @tan_stack @nuqs47ng waiting..

Фото профиля kian bazza
kian bazza1 год назад

@bazzaui @tan_stack @nuqs47ng Loading.....

Фото профиля RajuGangitla
RajuGangitla1 год назад

@bazzaui @tan_stack @nuqs47ng Great work

Фото профиля kian bazza
kian bazza1 год назад

@bazzaui @tan_stack @nuqs47ng Thanks Raju :)

Похожие видео

How should you search, filter, and paginate data with Next.js? This demo has 50,000 books in a Postgres database. • Page Load: When the page loads, we see the React Suspense fallback. This loading skeleton is displayed until the first page of books is retrieved from the database. • Searching: The search input has a 200ms debounce. After 200ms of inactivity, the form submits, updating the URL state with `?q={search}`. The Server Component reads `searchParams` and queries the database. On form submission, a React transition starts, allowing us to read the pending status with `useFormStatus` to display an inline loading state. • State Preservation: Navigating to an individual book page retains the search input state. Reloading the page or sharing the link preserves the search results. • Client-side Filtering: Filtering authors in the left sidebar is done client-side. Authors are fetched by a Server Component and passed as props to the sidebar. Changing the input value updates React state and re-renders the sidebar. • Optimistic Updates: The sidebar’s selected authors are optimistically updated with `useOptimistic`. Checkbox selections update instantly without waiting for the URL to change. • State Preservation: Navigating to an individual book page retains the sidebar filter input and selected author state across navigations, giving it an app-like feel. • Pagination: Navigating between pages updates the URL state, triggering the Server Component to query the database for the specific page of books. We also fetch the total book count to show the total number of pages. This demo isn't perfect yet (still working on it) but it's been a fun playground for some of these patterns. You can imagine a similar experience for thousands of movies, cars, products, or any other very large dataset. Demo → Code →

Lee Robinson

236,573 просмотров • 1 год назад