Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Jul 29, 2023
1 parent 35abb45 commit 69bb53e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const App = () => {

### React Server Components (RSC) support

This library is marked as a Client Component. You can render RSC as children of VList.
This library is marked as a Client Component. You can render RSC as children of VList or WVList.

```tsx
// page.tsx in App Router of Next.js
Expand Down
2 changes: 1 addition & 1 deletion src/core/scroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const createScroller = (
};
scrollToQueue = [resolveQueue, reject];

// In some specific situation with VGrid, the promise never resolved so we cancel it if timed out.
// In some specific situation with VGrid, the promise never resolved so we resolve it if timed out.
timeout(resolveQueue, 250);
});
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare const cacheSymbol: unique symbol;
/**
* Serializable cache snapshot.
*
* **This is not intended to be modified by users. And it is not guaranteed to work if you pass it to the different version ot this package.**
* **This is not intended to be modified by users. And it is not guaranteed to work if you pass it to the different version of this package.**
*/
export interface CacheSnapshot {
[cacheSymbol]: never;
Expand Down
2 changes: 1 addition & 1 deletion src/react/WVList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export interface WVListProps extends WindowComponentAttributes {
}

/**
* Virtualized list component controlled by the window scrolling. See {@link WVListProps}.
* Virtualized list component controlled by the window scrolling. See {@link WVListProps} and {@link WVListHandle}.
*/
export const WVList = forwardRef<WVListHandle, WVListProps>(
(
Expand Down

0 comments on commit 69bb53e

Please sign in to comment.