Skip to content

Commit 4db8c86

Browse files
authored
Merge pull request #92 from trusktr/patch-3
Start a troubleshooting page
2 parents e56d1b6 + e0f0d2b commit 4db8c86

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

documentation/troubleshooting.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Help!
2+
3+
## Reactivity is not working
4+
5+
- If you application has duplicate instances of the `solid-js` package inside `node_modules`, this can cause reactivity to break.
6+
- This can happen when you've `npm link`ed dependencies into your project.
7+
- If you're using Webpack with `babel-preset-solid`, you may have luck fixing the issue with using the [`RootMostResolvePlugin`](https://github.com/webpack/webpack/issues/985#issuecomment-260230782)
8+
- If you're using Node.js `require` in Electron (for example), you'll need to write a Require hook (see the `pirates` package, for example) to make it import the root-most version of `solid-js`. (I'm not sure if such a hook already exists).

0 commit comments

Comments
 (0)