I created a very nice module to deal with localStorage for an upcoming app we are making.
Had to be creative with Typescript and Zod.
Features:
* Typesafe getter
* Typesafe setter
* Autocompletion for getting and setting.
* Zod parsing. (Also complex objects)
If you dont want
@iammemeloper
i think this is because an array is just an object like this:
{
0: 1,
1: 2,
2: 3,
3: 4
}
And the "in" operator check for the keys of the object AKA the indices.
Currently building an app with my current favorite stack. Never been easier to spin up a new product!
- Vercel NextJS
- Vercel hosting
- Vercel Postgres
- Vercel KV
- Vercel Edge config
- Vercel Blob
- Vercel AI
- Stripe Recurring
- Prisma
- Clerk auth
- Shadcn UI
- TailwindCSS
Dub (
@dubdotco
), Cal (
@calcom
) and Resend (
@resend
) really are the perfect examples of how you don't need a new idea to succeed.
If you find a yourself annoyed with the current solutions, there is room for one more.
Just make it better!
@endermanch
It is not that bad though.
The requirements are there to ensure that a local LLM performs well.
The key is local LLM.
Not every PC has to be an "AI PC"
I can't believe the speed of development here.
I asked for help with this not more than a week ago, and
@Baconbrix
responds with a "PoC" after about an hour. Now, a week later, this is an official plugin by
@expo
.
Also the reach you get on
@x
is
🚀 Just released a new
@Expo
Config Plugin for customizing the System Settings page for Apple apps!
◆ Full TypeScript support
◆ Synchronize native settings
◆ Multi-page support
◆ Full API coverage
◆ Localizable metadata
◆ Idempotent Prebuilds
Introducing `fallback-email`!✉️
An NPM package that automates using fallback email providers if one of them fails.
It goes through the list of providers one by one until one of them works.
Still in very early alpha, and would love if people would contribute!
@levelsio
@elonmusk
not to be that guy, but it is a bit different though.
i bet a visitor who reads multiple articles counts as one visitor.
but if a person scrolls past 3 of your posts, it counts as 3 impressions
still IMPRESSIVE though!
@nilansaha
I think it is better to build redundancy than relying solely on a different one.
I just created an NPM package "fallback-email" that automatically fallbacks to another email-provider if the first one fails.
"use client means this portion needs to be hydrated"
This means that the server HAS to ship the necessary data and JS to render the same component on the client, even though it is pre-rendered on the server.
Always insert "use client" as far down in the component tree as
With the new and improved
@vercel
integration,
@supabase
looks pretty unbeatable for data and auth services. Easy connection with
@resendlabs
for auth emails as well!
Introducing `fallback-email`!✉️
An NPM package that automates using fallback email providers if one of them fails.
It goes through the list of providers one by one until one of them works.
Still in very early alpha, and would love if people would contribute!
@tomwarren
This implicitly means "as long as Playstation allows us to have a Game Pass subscription on their platform". Or something in that direction.
Cool that Typescript basically built support for
@bunjavascript
module resolution.
Bun allows using both ‘import’ syntax and ‘require’ syntax in the same file.
Announcing TypeScript 5.4! 📢
Now with:
✅ Smarter control-flow analysis in closures
✅ The `NoInfer` utility type
✅ Broader support for bundlers and runtimes
✅ Quick fixes for missing parameters
✅ Improved auto-imports
and more! Try it today!
We run
@bunjavascript
in production for a background worker fetching data and writing to a file.
We encountered this massive memory leak that made us have to use node instead.
Hope it is fixable soon so we can run bun again asap.
Forgot how pain it is to use node compared to bun
@jarredsumner
Would you consider adding a warning instead? I like the idea that it shouldn't error, but it should not be encouraged.
"WARN: You are using comments or trailing commas in your package.json. This might break other tooling."
I have been using shitty online downloaders for youtube, instagram etc forever.
I finally found out that many of them are using
@justusecobalt
under the hood.
They have the best UI, ad-free, track-free, Open Source.
It is a no-brainer!
@t3dotgg
Even though this is a joke, I can relate in some sense. Code is a necessary "evil" to produce value for others. The faster you can ship value to people the better; with or without code.
PS: I love to code, but I love problem-solving more.
Love this!
Now they have started competing on price in addition to DX and convenience
Looks like it is going to become a lot cheaper for a lot of people on the Pro plan
We're improving the pricing of our infrastructure products:
◆ Pay exactly for what you use, in granular increments
◆ Lower prices for essentials (bandwidth & functions)
◆ New primitives for easier spend optimization
◆ Our hobby tier remains free
An important aspect of Developer Experience (DX) is API Discovery.
What i mean with API Discovery
The ability to discover the API by using it. Developers should not be required to guess or read separate docs to know which endpoints/functions are available.
How to achieve API