Skip to content

Commit dbe2007

Browse files
committed
Minor version bump
1 parent e034e2d commit dbe2007

File tree

4 files changed

+33
-4
lines changed

4 files changed

+33
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ If you want to pin a minor version, use a tilde in your `package.json`.
150150

151151
<!-- AUTO-GENERATED-CONTENT:START (TILDE) -->
152152
```diff
153-
- "eslint-plugin-solid": "^0.8.0"
154-
+ "eslint-plugin-solid": "~0.8.0"
153+
- "eslint-plugin-solid": "^0.9.0"
154+
+ "eslint-plugin-solid": "~0.9.0"
155155
```
156156
<!-- AUTO-GENERATED-CONTENT:END -->

docs/reactivity.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,35 @@ css`
479479

480480
html`<div>${(props) => props.name}</div>`;
481481

482+
function Component() {
483+
let canvas;
484+
return <canvas ref={canvas} />;
485+
}
486+
487+
function Component() {
488+
let canvas;
489+
return (
490+
<canvas
491+
ref={(c) => {
492+
canvas = c;
493+
}}
494+
/>
495+
);
496+
}
497+
498+
function Component() {
499+
const [index] = createSignal(0);
500+
let canvas;
501+
return (
502+
<canvas
503+
ref={(c) => {
504+
index();
505+
canvas = c;
506+
}}
507+
/>
508+
);
509+
}
510+
482511
```
483512
<!-- AUTO-GENERATED-CONTENT:END -->
484513

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-solid",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"description": "Solid-specific linting rules for ESLint.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

standalone/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-solid-standalone",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "A bundle with eslint and eslint-plugin-solid that can be used in the browser.",
55
"files": [
66
"dist.mjs",

0 commit comments

Comments
 (0)