Content
@
0 reply
0 recast
0 reaction
@git
nothing is more disappointing than a library providing only react support. "nobody has time to make versions for each framework!" not what we are asking and not what you should do even if you're able to. Just make a vanilla JS version and a react version. This ends up being better for your library long term
6 replies
2 recasts
28 reactions
@git
https://warpcast.com/git/0x10b6bc75
0 reply
0 recast
1 reaction
Darryl Yeo 🛠️
@darrylyeo
Facts. React Hooks should really be treated as its own programming language (an ecosystem-incompatible flavor of JavaScript).
2 replies
0 recast
8 reactions
Phil Cockfield
@pjc
Agreeeeeed! Hooks is a terrible way to expose an interface. > "Just make a vanilla JS version and a react version." And have the react version be a light hook wrapper around the Vanilla JS.
2 replies
1 recast
4 reactions
Rafi
@rafi
Also building vanilla library first will make framework-specific libraries better in every aspect
0 reply
0 recast
1 reaction
Rafi
@rafi
Had it with @privy when implementing SIWF recently. They do provide vanilla js lib library that is unstable and without proper documentation. Decided to implement it myself and it was definitely quicker than understanding their code and fearing things will break in the future.
0 reply
0 recast
1 reaction
Christian Montoya 🦊
@m0nt0y4
yes thank you. I just need vanilla JS. It is not a big ask.
0 reply
0 recast
1 reaction