Conditional fetching with createResource
Is there a polyfills.ts for `solid-start`? Or is there a way of modyfing the produced `index.html` ?
aws amplify framework there is a common bug, which all frameworks have to fix somehow:
https://github.com/aws-amplify/amplify-js/issues/678
global is not defined
...Pure client based page complaining about `window is not defined` in solid-start (No SSR needed)
solid.js I could use window in my code just fine, for. pages that are entirely client-rendered.
With solid-start I use the solid-start-static for client based pages, like described in Alex' blog post https://dev.to/lexlohr/using-solid-start-with-github-pages-3iok .
```js
export default defineConfig({...Why does typescript not accept `text() && text().length === x` in solid-start?
text() && text().length === 6
text() && text().length === 6
tsconfig.json that comes with the solid-start template? (E.g. typescript complains I should use text()?.length but it didn't in other projects with solid.js) ...Universal renderer createElement isn't running
How to read reactive state from imperative contexts (audio/music)
How to handle auto scrolling in a chat app when new message comes in?
How to get `onMount` to be called on the client for a server-rendered site
solid-start with solid-start-aws.
Running npm run build creates an index.mjs which I can then use as the lambda-function that creates the static website (with some minor corrections https://github.com/solidjs/solid-start/pull/898 )
Now, when using solid-start for a server rendered website, how do I run initialization code on the client?
I.e. I would like to initialize some third party frameworks on the client....Reactivity with normal functions
doubleCount is using createMemo while tripleCount is a normal anonymous function.
They work just fine, the value is updated accordingly. The tripleCount is like an accessor at this point.
- How can this work? Do signals simply re-trigger any functions that wrap it?...Solid-js design system CSS troubleshooting
How to throw an Error on an unknown route?
Joining SolidJS Vite app with a rest api as single app
How to make a sticky navbar change color when it has reached the top? Like in solidjs homepage
How to detect env in `createServerData`
npm run dev on my site, so I can render it locally in the browser and quickly iterate design.
With npm run build it'll create the code that is actually run on the server environment.
Now, inside of createServerData the db I have available on the server is not available when just running npm run dev, so I would like to inject some test-data....Uncaught ReferenceError: _$HY is not defined
yarn dev, but then I deploy it, I get:
Uncaught ReferenceError: _$HY is not defined
Uncaught ReferenceError: _$HY is not defined
createResource swallows error?
createResource. Here is some simplified example code:
```typescript
window.addEventListener('unhandledrejection', (e) => console.error(e));
window.addEventListener('error', (e) => console.error(e));
...Make signal react on prop change
const [error, setError] = createSignal(props.error);
const [error, setError] = createSignal(props.error);
Make sure the dom updates (equivalent of `tick` in Svelte)?
Solid Transition with createServerData$
const test = ['123', 'abc'] so I'm pretty sure the reason there is no animation is because of createServerData$. Actually it shows...How to use SolidJS Routes in Astro?
