- Wajib follow base
- Repost dan likepost ini dan yang diquote
- Rep DONE <3
- Wajib follow base
- Repost dan likepost ini dan yang diquote
- Rep DONE <3
#like #follow #fashion #photography #likepost #followpage #outfitofthenight
#outfitstyle
#like #follow #fashion #photography #likepost #followpage #outfitofthenight
#outfitstyle
#like #follow #likepost #followpage
#outfitstyle #partyoutfit #outfitofthenight #photoofthenight
#searchengine #googlesearch
If I understand correctly, typing args – e.g.
"use server"
export async function likePost(postId: string) { ... }
is awesome for ensuring correct usage in the codebase, but it doesn't stop someone from
If I understand correctly, typing args – e.g.
"use server"
export async function likePost(postId: string) { ... }
is awesome for ensuring correct usage in the codebase, but it doesn't stop someone from
```
if (this.classList.contains('liked')) {
const { likes } = await likePost(postId); // This should call `unlikePost` lol
} else {
const { likes } = await unlikePost(postId); // and this `likePost`
}```
```
if (this.classList.contains('liked')) {
const { likes } = await likePost(postId); // This should call `unlikePost` lol
} else {
const { likes } = await unlikePost(postId); // and this `likePost`
}```
to this 👇
ko-fi.com/africantrans...
CAN I GET A RIDE ON THE 💿🐴?
To help:
- Share
- Donate (any amount!)
- Peruse the shop
- Create for the shop
- Talk about it, including translations in general
- Like the "likepost": bsky.app/profile/edeb...
to this 👇
ko-fi.com/africantrans...
CAN I GET A RIDE ON THE 💿🐴?
To help:
- Share
- Donate (any amount!)
- Peruse the shop
- Create for the shop
- Talk about it, including translations in general
- Like the "likepost": bsky.app/profile/edeb...
Suppose my client imports and calls an exported server function named `likePost`. I deploy. Then I rename `likePost` to `likeSkeet` and redeploy. Do old versions of the clients just break?
Suppose my client imports and calls an exported server function named `likePost`. I deploy. Then I rename `likePost` to `likeSkeet` and redeploy. Do old versions of the clients just break?
export async function likePost(unsafePostId: string) {
if (typeof unsafePostId !== 'string') throw;
const postId = unsafePostId;
// ...
}
so I get type safety for the caller but
export async function likePost(unsafePostId: string) {
if (typeof unsafePostId !== 'string') throw;
const postId = unsafePostId;
// ...
}
so I get type safety for the caller but
Please, talk about it, like my likepost (I pinned it) donate any amount - we're at 92% - let's push this over!
ko-fi.com/africantrans...
Please, talk about it, like my likepost (I pinned it) donate any amount - we're at 92% - let's push this over!
ko-fi.com/africantrans...
import { LikeButton } from './frontend' with { type: 'script' };
export remote async function likePost(postId)
import { LikeButton } from './frontend' with { type: 'script' };
export remote async function likePost(postId)
“importing likePost from the client code gives you an async function that performs the HTTP call”
“importing likePost from the client code gives you an async function that performs the HTTP call”