Skip to content

Commit

Permalink
Minor version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwilsonvu committed Nov 27, 2022
1 parent e034e2d commit dbe2007
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ If you want to pin a minor version, use a tilde in your `package.json`.

<!-- AUTO-GENERATED-CONTENT:START (TILDE) -->
```diff
- "eslint-plugin-solid": "^0.8.0"
+ "eslint-plugin-solid": "~0.8.0"
- "eslint-plugin-solid": "^0.9.0"
+ "eslint-plugin-solid": "~0.9.0"
```
<!-- AUTO-GENERATED-CONTENT:END -->
29 changes: 29 additions & 0 deletions docs/reactivity.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,35 @@ css`

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

function Component() {
let canvas;
return <canvas ref={canvas} />;
}

function Component() {
let canvas;
return (
<canvas
ref={(c) => {
canvas = c;
}}
/>
);
}

function Component() {
const [index] = createSignal(0);
let canvas;
return (
<canvas
ref={(c) => {
index();
canvas = c;
}}
/>
);
}

```
<!-- AUTO-GENERATED-CONTENT:END -->

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-solid",
"version": "0.8.0",
"version": "0.9.0",
"description": "Solid-specific linting rules for ESLint.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion standalone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-solid-standalone",
"version": "0.2.0",
"version": "0.3.0",
"description": "A bundle with eslint and eslint-plugin-solid that can be used in the browser.",
"files": [
"dist.mjs",
Expand Down

0 comments on commit dbe2007

Please sign in to comment.