Vitor Markis

1.2K posts

Vitor Markis

Vitor Markis

@vitormarkisdev

reinventing the wheel since 2001 @ Terrantic — Building Saphyra, a declarative state manager that embraces async behavior

شامل ہوئے Haziran 2023
271 فالونگ225 فالوورز
پن کیا گیا ٹویٹ
Vitor Markis
Vitor Markis@vitormarkisdev·
Here is the demo: saphyra-examples.vercel.app/revalidation-l… Took a while because I had to stabilize the new API "onFinish" (was sleeping in a branch for like a month). Source code is bloated because of all the page settings are intermingled. Good to know: There is no built-in revalidation, Saphyra only gives a callback to run when a subtransition (async().promise) is done (onFinish API). You build revalidation logic on top It's low-level by design, so others can build higher level APIs Async effects in a React app would be fired by useEffects, which don't participate on transitions afaik, so you can't batch them like I did in this example. Clicking multiple times on the same button won't dispatch them right away cause there is a before dispatch (beforeDispatch API) handling this conflict. There is multiple conflict solving resolution strategies that before dispacth can handle, check the Before Dispatch page. In the console, I attached the store to the window, so you can check "revalidationList.history" while you interact with the page. Expand the transitions devtools transitions, that will help understand what is happening. Don't forget to sort by name and filter by transition names. Have fun.
English
0
0
2
695
Vitor Markis
Vitor Markis@vitormarkisdev·
@Abraham_Abrahub é legal vibe coding, só por favor não inventa de salvar nenhum tipo de informação do usuário em nenhuma espécie de banco de dados seu porque você vai tomar no rabo legal fica só no client side que é sucesso, tem react, tailwind pra você brincar… bem legal
Português
2
0
5
1.1K
Vitor Markis
Vitor Markis@vitormarkisdev·
@FernandoCruz_21 concordo, porém a visibilidade dessa interação é muito importante. Você pode passar a imagem de empresa atenciosa ou destruir a imagem da empresa dependendo da reação
Português
1
1
3
927
Fernando Cruz → allowa.tech
Fernando Cruz → allowa.tech@FernandoCruz_21·
Nesses casos sai mais barato o Pedro devolver os R$1k. Não é um fix, é praticamente uma feature que gera pouco valor, ele usou SSO e quer alterar pra usar senha, pro sócio usar. Se o sócio criar a própria conta e pedir uma transferência de saldo pra conta dele não for suficiente. O mais barato pro Pedro é devolver os R$1k e focar nas empresas grandes que ele está atendendo. Foi a estratégia da Brex inclusive, cortou as Startups e focou em Enterprise que tem o Big Money. Cliente pequeno pedindo features de Edge case é só distração.
antonio realoficial.com.br | viral.day@acgfbr

mano antes disso faz o reset de senha funcionar eu ja te falei 4x no grupo que isso nao ta legal o fluxo nao ta bom vcs insistem em falar que funciona mas essa pora nao funciona eu nao sei como ser mais claro, se nao for possivel resolver devolva nosso dinheiro e vida que segue

Português
16
3
73
17.1K
Vitor Markis
Vitor Markis@vitormarkisdev·
Looks like an interesting topic to dive into, but I just can't understand it. And I'm someone who's very interested in this whole async problem, I even created my own solution. So we're aware of the problems, but we're not speaking the same language. Whenever I try to unwrap these technical terms for my team, I usually start by framing where we are, the pain, the current solution, the flaws, how it fails to solve the problem, and how the new architecture allows us to solve it properly. I know you do this a lot with Solid, to the point where it starts to get a bit boring, but now you're coming with something new.
English
0
0
5
346
Ryan Carniato
Ryan Carniato@RyanCarniato·
Async in frameworks happens in 4 phases: 1. create 2. consume 3. block 4. read The problem? Most fuse 2 & 3. Consumption triggers blocking. This puts DX (coloration) at odds with UX (blocking). Solid 2.0 snaps them to the poles. Colorless logic. Non-blocking UI.
Ryan Carniato tweet media
English
11
35
370
36.1K
Vitor Markis
Vitor Markis@vitormarkisdev·
@Grazinascito Pra task que merece atenção e que tem chance de eu n ter 100% de certeza do escopo
Português
0
0
2
411
David K 🎹
David K 🎹@DavidKPiano·
GPT 5.4 is like a really skilled developer who mostly does backend stuff They can have like 30+ years of experience and be geniuses, but... don't let them touch the frontend too much
English
69
24
704
54.9K
Vitor Markis
Vitor Markis@vitormarkisdev·
@nicolasmelo Qual interesse das empresas em melhorar a qualidade de vida dos devs? Elas vão ser superadas por empresas onde os devs usam IA pra trabalhar mais
Português
1
0
0
15
nicolasmelo
nicolasmelo@nicolasmelo·
E digo mais: Tava falando disso ontem: A maior vantagem de IA NÃO É poder fazer mais A maior vantagem é poder fazer meu trabalho de maneira async Tirar roupa do varal enquanto a IA faz o código, cozinhar, lavar roupa Antes era impossível ser multi-task como desenvolvedor
nicolasmelo@nicolasmelo

Assim, nos meus projetos pessoais é assim mesmo, quem vai revisar seria eu mesmo então sou tipo "CONFIA" Agora no trabalho? Assim, não consigo acreditar nesse lance de que: + linhas de código = aumento de produtividade pq sempre alguém vai revisar

Português
3
0
9
711
Estagiario do Fluminense 🇭🇺
Estagiario do Fluminense 🇭🇺@Estagiario1902·
Amigo aí vai ser zoado pro resto da vida. Além de ter sido corno,ainda apanhou pro amante
Português
231
109
4.8K
338.9K
Daniel Cenista
Daniel Cenista@Daniel_LuisPS·
@CuriosidadesBRL O cara é brabo nessa situação e a maior calmaria do mundo. Todo mundo desesperado e ele lá
Daniel Cenista tweet media
Português
2
2
57
7.8K
Curiosidades Brasil
Curiosidades Brasil@CuriosidadesBRL·
Marlon, do Grêmio, quebrou a perna.
Português
158
231
7.1K
533K