solid-devtools icon indicating copy to clipboard operation
solid-devtools copied to clipboard

Add useCustomLocator() for non-DOM locators

Open Alloyed opened this issue 10 months ago • 1 comments

All DOM-specific parts of the existing locator have been moved into their own folder, DOMLocator. existing calls to useLocator() will continue to use the DOM locator, but as an opt-in you can provide a custom locator with the same API as the DOM locator. The types your custom locator are expected to match can be found at locator/types.ts.

Alloyed avatar Apr 08 '24 19:04 Alloyed

⚠️ No Changeset found

Latest commit: 5463a46063ab57aec1c7c76dfb278a72f4dc9aa3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Apr 08 '24 19:04 changeset-bot[bot]