Should I use reconcile everytime I use produce?
Vinci build API issue
<Show> not tracking signals
Fetch request render HTML content to my page
RPC "use server" and CSRF Attacks
"use server"
function.
In Next.js, when I process a form with server actions, the risk of CSRF attacks is significantly reduced for a few reasons:
1. Server actions are limited to POST
requests....Default SEO vs Route SEO
default.tsx
where I import on app.tsx
;
- the page.tsx
where I import on each route....is middleware strictly for server?
solidjs/html use: attributes
use:
attributes when using lit-dom-expressions
? I've tried html`<div use:${myFunction}></div>`
but that doesn't work and any properties following the use:
are omitted.Reactivity stopped - advice for debugging?
createRoot
I've got a bug where in a certain situation a node-view UI becomes non-reactive.
I've reduced it down to a simple createEffect(() => console.log(...))
so I think it's unrelated to any dom issues....can I import a `named export` while lazy loading the `default export`?
export route = {}
How to transform into getters outside of props?
<MyProp color={color()}
, the props are { get color() { return color() } }
.
Is there a way to trigger such compile transformation for normal js code, like creating a normal object and transforming it into an object of getters?...Restricting children to specific component types
SpecialTable
and SpecialRow
, such that the former type only accepts children of the latter type:
```
<SpecialTable>
<SpecialRow/>
<SpecialRow/>...`createResource` for Create and Update Requests?
createResource
call?Uncaught Error: Failed attempt to create new DOM elements during hydration. Check that the libraries
index.tsx
```tsx...Dynamic Component & Props
Setting custom 'children' type
Modifying subsets of resources, not re-rendering
How does Solid’s JSX attribute vs. prop implicit binding work?
attr:
, when to use prop:
and how the JSX compiler handles any prop automatically when I don’t use attr
or prop
explicitly.
For example if I use edit
on a web component (custom element), it works (it correctly uses the underlying prop that was defined on that element). But if I use onComplete
, it doesn’t unless I specify it as prop:onComplete
. But why does the edit
work even though its not a regular DOM attribute? Does Solid ignore non-explicit and unknown props? If so, where is this defined? I'm a bit confused here, especially where the “magic’ happens....H3Error: Cannot find module 'bun:sqlite' imported from