James Vaughan

Results 7 issues of James Vaughan

This introduces a new prop on the `Renderer` component that allows users integrating with @tldraw/core to provide custom components to override parts of the default UI. At this point, the...

I have a machine that I edit both directly in the code and in the visual editor in the VS Code extension. After editing the machine via the visual editor,...

**Is your feature request related to a problem? Please describe.** I work in a repo with relatively slow pre-commit hooks. I'd like to be able to start composing my commit...

**Describe the bug** The zustand store is modified twice when mixing the store's `set` function with Liveblocks' `batch` function. **To Reproduce** This code results in a bug: ```typescript type TestStore...

bug
Custom App

### What happened? We use `TldrawSelectionForeground`, but not most of tldraw's other UI. With the upgrade to v3.13, wrapping our app in `TldrawUiContextProvider` became necessary in order to continue using...

bug

The `@liveblocks/react` package exports a [`useMarkThread`](https://liveblocks.io/docs/api-reference/liveblocks-react#useMarkThreadAsRead) hook. We'd like a similar hook for marking threads as _unread_. Apologies for the noise if there's already a way to mark threads as...

feature request

This replaces the use of `zustand` with an inline implementation of the same functionality using `useSyncExternalStore` directly. This approximates what zustand was doing. With this change, this package has zero...