clonbg · @clonbg
259 followers · 1438 posts · Server masto.es
clonbg · @clonbg
259 followers · 1423 posts · Server masto.es
partizan · @partizan
170 followers · 13937 posts · Server mstdn.social

I'm trying to use generic type with vue composition API, and getting an error.

```
import { ref } from "vue";

function useContext<T extends BaseContext>(v: T) {
const context = ref<T | null>(null)
context.value = v
return {context}
}

interface BaseContext {}
```
```
src/main.ts:5:3 - error TS2322: Type 'T' is not assignable to type 'UnwrapRef<T> | null'.
```
Is this a bug, or am i doing something wrong?

#typescript #vuejs

Last updated 1 year ago

clonbg · @clonbg
258 followers · 1418 posts · Server masto.es
clonbg · @clonbg
258 followers · 1417 posts · Server masto.es
Luke Nelson · @luc122c
11 followers · 80 posts · Server social.nelson.zone

I find it really interesting learning about what goes on under the hood. hacks.mozilla.org/2023/09/fast

#webdev #firefox #vuejs

Last updated 1 year ago

clonbg · @clonbg
259 followers · 1411 posts · Server masto.es
clonbg · @clonbg
257 followers · 1405 posts · Server masto.es

Un par de cursos de Youtube sobre programación. @juanwmedia myblog.clonbg.es/#/cursos-yout clonbg.es

#vuejs #javascript #python #programacion

Last updated 1 year ago

Nicolas Noé · @niconoe
30 followers · 4 posts · Server fosstodon.org

Hey, I am currently looking for my next freelance mission.

Keywords: , , ...

More details on niconoe.eu!

#django #gis #biodiversityinformatics #vuejs #typescript #postgresql #foss #opendata

Last updated 1 year ago

BlogInnovazione · @BlogInnovazione
14 followers · 353 posts · Server mastodon.uno
Jason Gaylord · @jasongaylord
29 followers · 74 posts · Server techhub.social
ThomasToSpace · @thomastospace
70 followers · 179 posts · Server phpc.social

Recently I started on a project at my new job. I've only worked with before.

One thing I didn't like it first, turned out to be an unexpected strength. In Angular, each component has a separate template, typescript & sass file. In Vue.js this is all inside a single file! Ugly and hard to use I thought.

Instead, it's a blessing. When a component reaches 100-150 lines, it already feels like a large component. Any larger? Time to split it up. It helps keep code clean.

#vuejs #angular

Last updated 1 year ago

TechDailyCFP · @techdailycfp
38 followers · 642 posts · Server techhub.social

vueday | 10 November 2023 | Verona (vueday.it/):

⌛ Today is the last day to submit your talk proposal: t.co/1ewQxUlXRw

is closing tonight!

Looking forward to meeting you in 📍 Verona on 📅 10.11.23
🎫 t.co/bp3EaXBlpi

@grusp t.co/WYuTddjv7e

#cfp #vueday #vue #vuejs #nuxtjs #vuex #vuejsdeveloper #javascript #js #vuedev

Last updated 1 year ago

Ian Irving 🇨🇦 · @iani
123 followers · 527 posts · Server ruby.social

#vuejs

Last updated 1 year ago

Joe Steinbring :thisisfine: · @joe
581 followers · 7081 posts · Server toot.works

I just saw v-cloak for the first time in an app.

vuejs.org/api/built-in-directi

#vue #vuejs

Last updated 1 year ago

Sebastian Hagens · @sebastian
209 followers · 510 posts · Server nwb.social

Mijn eerste technische ervaring met het bouwen van een zogenaamde decentralized application (dApp), hoe ziet dat eruit? Best complex! Het vinden van technisch werkende en logische oplossingen vraagt om veel uitzoekwerk in combinatie met trial-and-error.
Ik heb een blog geschreven waarin ik utleg hoe het werkt om EURe tokens (electronic money dat wordt uitgegeven door Monerium) te versturen via de Gnosis blockchain. De dApp bouw ik met behulp van en .

#vuejs #javascript

Last updated 1 year ago

Joe Steinbring :thisisfine: · @joe
579 followers · 7048 posts · Server toot.works

is trying to figure out how to include an Gigya form into a view on a app. 🤔

#sap #vuejs

Last updated 1 year ago

clonbg · @clonbg
254 followers · 1370 posts · Server masto.es
Domenico Tenace 👾 · @dvalin99
6 followers · 22 posts · Server mastodon.uno

Ho iniziato una serie di articoli riguardanti le basi di e in questo primo articolo espongo la differenza tra l' ref() e reactive().
Lasciate un commento se vi va!

Link: dev.to/dvalin99/reactivity-con

#vuejs #api #devcommunity

Last updated 1 year ago

clonbg · @clonbg
254 followers · 1369 posts · Server masto.es