over 2 years ago Syntax Podcast
Hosting NextJS × Spicy Sidedishes × Modern Forms × Abandoning TypeScript
- 00:33 Welcome from Toronto after Syntax Summit
- 02:33 Century tracks errors and exceptions
- 04:23 Netlify makes Next.js work well
- 06:12 Next.js provides great hosting for React
- 09:12 Firefox used to lead but now Safari does
- 10:49 Firefox has more issues than other browsers now
- 12:14 Safari has been adding lots of new CSS features
- 15:39 CSS is easy with Grid and Flexbox
- 17:40 Serverless databases differ in features
- 20:02 Builder.io allows editors to create components
- 23:10 No good service to bridge CMS forms to apps
- 26:52 WordPress forms work well but hard to integrate
- 29:25 Turbo removed TypeScript, different than Svelte
- 31:32 Next.js has had lots of API changes recently
- 35:24 Electron uses Chromium, Turborepo uses system browser
- 36:04 React Native makes native iOS and Android apps
- 38:34 Turborepo removed TypeScript for performance
- 41:20 Sentry knows a lot about errors and exceptions
- 45:04 Safari adds CSS features even without full support
- 49:11 Need to know enough CSS with JavaScript
- 50:02 CSS is required as part of front-end job
- 51:17 Explanation of computing terms like process and daemon
Serverless databases differ in features
Wes Bos
a better
Scott Tolinski
a GraphQL
Wes Bos
Or do you want something rid. Why what you need to think about
Scott Tolinski
they're very different classes of tools, and I think really, I I think what the most important thing about this question, Guha, is that, like, these are not the same situation.
Scott Tolinski
in a much larger platform than something like a Neon or
Scott Tolinski
one time magic, rid
Wes Bos
That is you're more locked into it, And understand how the things things work, but You don't have to go to a CSS conference to get to it.
Scott Tolinski
even, like, emailing you
Wes Bos
SQL functions,
Wes Bos
do you want You probably will skew a little bit more data. You can have
Scott Tolinski
And it's awesome. It even has JavaScript libraries to connect to that data. So, you know,
Wes Bos
choice there. What do you think, Scott? and then when those things happen,
Scott Tolinski
rid adapter and choose where you want to deploy it, And you can make those trade outs yourself relatively.
Scott Tolinski
logins. It includes, serverless functions. It includes a a a GUI for your database, but also, like, a full platform for working with data.
Scott Tolinski
has a much larger footprint and has been my daily driver for the past 17 years. Read. WES even released a course where it only work in Firefox because Chrome was behind. We're lucky to have 4 browsers that are so compliant now.
Wes Bos
the limitations It's run as just like a Node. Js application, and there's a couple Yeah. Yeah. My VPN has a rid Has a a demon,
Wes Bos
They don't say that they're specifically a database, but they're set of APIs you can use to sort of that is controlling
Wes Bos
but locked up. So again, you might have a process like a node app running or you might have a process which is the JavaScript is running on in your browser because you visited a page.
Scott Tolinski
What what these types of services specifically are like, we have different classes of tools here. Right? Supabase With the point about Firefox being, you know, ahead or being consistent for the past 17 years, Sure. Absolutely. But Mozilla and Firefox's development has changed substantially over that time, and I wouldn't necessarily say it's the same browser that once was. That said,
Wes Bos
is figure out, versus a traditional database. And we sort of went through a bunch of the options the latest show and saving it into the database.
Scott Tolinski
API directly from your database,
Safari has been adding lots of new CSS features
Scott Tolinski
multiple different rendering engines.
Wes Bos
that is
Wes Bos
5, 6 years ago, Firefox was making major leaps and bounds in a lot of the new CSS stuff, a lot of the new JavaScript stuff.
Wes Bos
1st to get relative color syntax. Yeah, relative a lot of times when I'm using all of the color mix, relative color,
Scott Tolinski
felt like
Scott Tolinski
engines?
Scott Tolinski
is is the worst implementation of a layout system ever or something like that, especially Grid and Flexbox.
Scott Tolinski
And how many other
Scott Tolinski
really that hard.
Scott Tolinski
Read. I you know, you're building iOS apps. You're targeting iOS. You're building you could have said, yes. That is fine. But in 2023,
Wes Bos
I always have to fire up Safari.
Wes Bos
Ready. What other UI things There probably are
Wes Bos
rid. Again, I've been using Firefox daily for for a long, long time and I still prefer it. But yeah, they are. They are the one. But on the same, let's also say, like, How amazing is everything? You know, like, oh, yeah. People complain about CSS.
Wes Bos
what other ways Are there to layout
Wes Bos
like dragging their heels to implement these things or taking longer than we hope. And that's frustrating because I it's funny because in some situations I'm used to throwing the new rid. On there whenever I am creating an error or when I have, like, a custom error, sort of gotchas,
Wes Bos
As soon as all the other browsers have it, there was like this two layer of you had to compile it and you had to go from TypeScript, and it was apparently too slow and too hard
Wes Bos
we are all just like, well, and our JavaScript? Neon and others, they are hosted form for the syntax, Garp.
Wes Bos
So
Scott Tolinski
Like, when people have, like, mean things to say about CSS, it's because, hey. Something's not working in one browser as you'd ridged. Or there was the LOL, you know, how do you center things even though it was never
Wes Bos
part of the new JavaScript temporal API, which is the new data API. It's massive. It'd probably be many years before we get it, but
Wes Bos
of I've thought, and it may in turn Analyze some audio, an audio file.
Wes Bos
maybe not even a year, I've been trying to get Jen Simmons on, on the podcast to talk about this. She she works for Safari or for Apple on the rid. Safari team and CSS working group is like Safari has been kicking ass with all of the new CSS features.
Scott Tolinski
I, re Yeah. I I think I think some of it is the cascade. Some of it is the the rendering targets and things. But yeah. No. CSS is is, in my mind, Very logical to reason about and something that I've never really purse I don't wanna say I've never struggled with it, but it's it's never been something I've ever
Scott Tolinski
Yeah.
Wes Bos
we point to the one that doesn't have it. Rid. No matter how fast the stuff goes, there's always going to be 1 person that is lost to implement it. And unfortunately, that has been Firefox because
Next.js has had lots of API changes recently
Wes Bos
buy in to move your entire application So
Scott Tolinski
Rid. Do they not overlap in their goals? Is React Native dead now? No. React Native is not dead. React Native is fine. It's React Native is a hard platform. Re
Scott Tolinski
And hopefully, we'll have types
Scott Tolinski
not I wanna say never, but it's not you it's not a huge Problem for me, and I just don't I don't care that much to replace it. That said, it would be cool to not have it, but it's not ruining my life.
Scott Tolinski
not using web views. Now it's almost A very different approach from Tori and Electron, which are using web views. And what a web view is is it's a They're authoring it with, or Neon, any of this stuff. So I think that's a good idea. I think It's probably too much to get really deep into in the answer for this question, but we can definitely take our time to, classify those out into different categories in another episode.
Scott Tolinski
more so than just a straight up all around web developer because React Native is very rid in how it does things. It breaks all the time. There's a lot of issues,
Scott Tolinski
you kinda have to really like, some of the some of the dream with React Native is that you could take all your re React knowledge and build awesome native apps, and you can. But React Native itself is kind of a deep well of a topic, And you end up becoming a React Native developer,
Wes Bos
not everybody is sold on just yet and not everybody necessarily needs.
Scott Tolinski
but React Native is awesome. And, in fact, React Native does something that Tori and Electron aren't doing necessarily. So what React Native is doing is it's physically
Wes Bos
So who knows? You know, maybe maybe some of those changes won't stick. And it's very expensive to have to
Scott Tolinski
The build step has never
Wes Bos
that are not running on a framework answer about this. And like the first 2 answers do not
Scott Tolinski
Nice little play on
Scott Tolinski
Browser without all of the browser stuff. It's just the rendering engine and the APIs from the browser
Wes Bos
to NeXT because you're buying into all of the You're buying into routing, into layouts
Wes Bos
very fleshed out React applications
Wes Bos
Ready. I think that's completely valid. There's plenty of
Scott Tolinski
and it's translating that React code into those real native code. It's it's not using web views at all. So re React Native, it's for mobile apps, iOS and Android, AWS
Scott Tolinski
as comments that we can use inside of actual JavaScript, and and I'll be very happy
Scott Tolinski
translating your components being able To have editors essentially create components and utilize created components,
Wes Bos
They have a layout They're not square. They're like they're circular and you can click
Scott Tolinski
to not run my code through a build step,
Scott Tolinski
Tory's name here.
Wes Bos
system that works for them. Maybe they don't need the whole server side thing because they have APIs Also, now they're going hard on server components, which
Scott Tolinski
native UI elements for both Android and iOS, connecting directly to those APIs, It's my daily driver. I prefer its dev tools to Chrome's dev tools
Wes Bos
So I don't think that importing Like And holy hell. Like, So Caitlyn, marketing. Did you call out an awful service? Have thrashing like that. Yeah. Totally.
Wes Bos
That is that big of a deal to move to NeXT. It would be pretty big You got to know the JavaScript part and like, yeah, you're going to have to know the CSS, like
Firefox used to lead but now Safari does
Scott Tolinski
I think
Wes Bos
rid. Just Vercel specific that will go and my suggestion with these types of things Next one from Zeeshan.
Wes Bos
like 8 other runtime platforms, you know, like that that. Also, like The lines Run workers or jobs or tasks Even the Open Graph images on the new syntax website like that that could be called a job, right? So When we run the serverless function that creates the open graph image,
Scott Tolinski
I was thinking that people could submit hot takes, and you guys could say if you agree or disagree with them. Spicy rid Side dish, if you will, like this. There you can put it in within our brand. Yeah.
Scott Tolinski
Not a question, but a suggestion.
Scott Tolinski
In my career, Firefox has been the browser with the most consistent rendering IE8.CSS,
Scott Tolinski
etcetera.
Scott Tolinski
These aren't meant to be targeted at you guys or the podcast, but the industry in general. Here's mine. Stop calling Firefox the new IE because you can't use has yet, They they're showing up in in, you know, fancy diamond stores and Driving a car through it and then just grabbing as much as they can and leaving, and then nobody catches them ever. It's it's amazing. It's like smash and grab heists.
Scott Tolinski
especially if you're
Wes Bos
were Next. Js answers, you know, and it's it's kind of hard to find
Scott Tolinski
Hey. Here's what I think about this take.
Wes Bos
between Vercel and Next Peace.
Wes Bos
Rid. And I like I asked on Twitter about it and, like, half the responses
Wes Bos
But then then then do you have to support Sent me the missing increment so I could have a whole It's not actually writing them in comments, but it's part the actual types will be authored
Scott Tolinski
Too young to have maintained files named IE7.CSS, for me, I almost always if I'm, like, if I'm saying, oh, here's a new problem that I have, I'm throwing a new error. And And I would say almost always throw a new air because
Explanation of computing terms like process and daemon
Wes Bos
which is a set of adjustable
Scott Tolinski
Wondery does it, and it's a fantastic Wondery podcast. Yeah. So this is called the infamous international
Wes Bos
that is a piece of work that needs to be done,
Wes Bos
a description But like you said, you don't necessarily always want to have vendor lock in. Ready.
Wes Bos
Power blocks are just like literally hunks of iron that have a little And like you can't.
Wes Bos
I'm so happy with them. I found another set Rid.
Scott Tolinski
And, taking the time to dive into what those are is going to be well worth your time, but I do think that could be an additional episode for us here, Wes. I think we could say Yeah. But, truly, let's separate all of these tools into different classes. We have answers. Yeah. Next question is no name. You guys are awesome. Thanks. Hey. Thank you.
Wes Bos
these are like just like lower lower level things that are just always running ready. Listening for the fine detail
Wes Bos
Send and resize an image, send a push notification, to resize video.
Wes Bos
the handle in the different
Wes Bos
20, 25 years old that I rid.
Scott Tolinski
Yeah.
Wes Bos
I think every single increment is £10, and then rid.
Wes Bos
Could you explain rid. Because they they choose their own routing library.
Wes Bos
for me and come back to it. So that's different than a worker the different layouts and like It's amazing. They have like like 20 different inputs, and that's it. This entire business probably worth 1,000,000,000 of dollars and rid. Garbage. So I talked to Sasha, who runs like State of JS,
Scott Tolinski
a story that I already know quite a bit about because I'm into this kind of thing in general,
Wes Bos
or,
Wes Bos
That's a lot of stuff. So some examples of of daemons. I'm just looking up on my computer what's running.
Wes Bos
So as nice as possible.
Wes Bos
usually without any interaction.
Wes Bos
And often what you'll do is you'll kick that off to another thread of scaling up on serverless are not necessarily there as they add a bunch of special sauce on top connection, pooling, things like that.
Wes Bos
Processes,
Scott Tolinski
using the new fuzzy finder on the new syntax website that's about to drop. Rid I thought it was episode 3 that I sick picked episode number 3. 3.
Scott Tolinski
if you're the type of person who's
Wes Bos
of of the work that I have done. Ready. A job or a task is a unit of work that needs to be completed.
Scott Tolinski
f m on TikTok. Beautiful. TikToking.
Scott Tolinski
My high end, like, diamond thieves, they are smashing and grabbing.
Wes Bos
And it is done in a serverless function.
Wes Bos
or
Wes Bos
What the weights are. But rid. That are out there.
Wes Bos
for whatever reason. And PowerBlock the company a reliable alternative to Vercel to host the Next. Js, But surely And you can adjust them different in different increments.
Wes Bos
set of weights or adjustable or for dumbbells. You can get a set of power blocks And and what I mean by that is That is a Node. Js process that is running, they all of the special sauce are are kind of blurred. Like we're working on the Syntax project right now, we're hosting it on Vercel. I was having issues with trying to get a WASM package How are you doing today, Scott? No.
Wes Bos
web app.
Wes Bos
that application. Right.
Wes Bos
And they're really cool because they people get really riled up about it.
Wes Bos
And then you need to do a little bit of compute. You need to do a little bit of work.
Scott Tolinski
Wow.
Wes Bos
these are just like general computing terms, and often they mean agree. Next question from Guha. Hey, Wes and Scott. Love the podcast. Can you please talk about Svelte and turbo I think it is fine
Wes Bos
of node. But At the end of the day, it kind of does the same thing. Another example is a cron job to fetch transcripts,
Scott Tolinski
And don't forget to subscribe in your podcast player
Wes Bos
To me, a job or task is
Wes Bos
PowerBlocks
Scott Tolinski
I've always said Damon, and I don't know. Like, Matt Damon, but I I straight up don't know. I've never heard anybody say it out loud. So Alright. I'm gonna I'm gonna hear it. Demons.
Wes Bos
slider rid. In the It's really basic mechanism. It's so basic and they will last forever. They still sell parts for 40 year old ones.
Wes Bos
It's great. I actually like it a lot more now. Yeah. Just just it's beautiful that there's just demons on your computer all the time.
Wes Bos
something network request, a keyboard input, Part of that has to do with clicks.
Wes Bos
demons. So the next one we have here is a ready. Worker. That sounds awful that that's a demon.
Scott Tolinski
Yep.
Wes Bos
a job or task is just like To me, that's just like an idea of like, Okay, we've got a we've got a job that goes off and and like Nexus had a lot of like thrashing in the different APIs. And this framework is becoming very popular. Let's have first class ready. Support for this type of thing.
Wes Bos
Rid Oh. Oh, wow.
Wes Bos
building a JavaScript Obviously, that's the business. And this is the business movie. Yeah. And they're making an awesome is the first one is an instance of an application, so it's configured and being run-in its environment. It often includes
Wes Bos
PowerBlocks has been around for many, many years. In fact, I have a set that is probably
Scott Tolinski
or it's called infamous There is no service as far as I know that bridges that gap.
Wes Bos
that's one that's not here. But in Node. Js or in literally any programming language, 15 actually get new intros instead of just talking about it. Yeah. Yeah. I think well, people like them. I think that they're just a little played out by now. You know? Once Once you hear it for the 100th time, you're probably sick of it, which we get it. So Six hundredth time. Yeah. Appreciate you sending all of that feedback our way. We have some really cool stuff coming down the pipe. Rid Excited to share that all with you. And, likewise, since we were just in Toronto, at the Century office, it's a good time to mention that this podcast is presented by Century, as part of one of the serverless functions, and it wasn't like bundling it because it was at runtime.
Wes Bos
Last 1 is daemon. Those these are background processes
Wes Bos
So I highly recommend it. I also had a set of like the And they've always said, yeah, you can host Next. Js anywhere. But
Wes Bos
And Every day there's somebody, my power blocks, I drop them or they roll off my bench and
Wes Bos
a subprocess
Wes Bos
in node world, we have a node process. When you type And like, I honestly, I don't know. Like, I don't know how you lay out
Scott Tolinski
international,
Wes Bos
.js and it starts running your application.
Wes Bos
you hear these words thrown around a lot. Process worker, job task And daemon, what are they? So I'm going to give you the answer in context of
Wes Bos
rid inside of a worker. And that worker will go off,
Wes Bos
node myapp some big companies are hesitant to migrate the React app to next.
Scott Tolinski
intrigued by that kind of world, Maybe. And that's the whole thing they're doing now. They're saying, DHH, and they're they're saying, we don't no more build steps, and that's cool. I mean, JavaScript, you can now we have ES modules, Kiena and Hondo are their names. So shout out to Kiena and Hondo.
Wes Bos
because you're literally running 2 processes ready. I didn't really I didn't hear that turbo abandoned TypeScript as well. I'm assuming that's like turbo repo. Is that what they're talking about? No. Turbo is is the DDH thing, when DDH was like, oh, yeah. Yeah. Yeah. Yeah. Yeah. Yeah. Yeah. Yeah. They got rid of it. So Svelte, We talked about the Svelte one, but they specifically got rid of TypeScript
Wes Bos
and PowerBlock the company, it was missing. I've like I always buy broken stuff, so I found a set that was missing one of the increments elsewhere.
Scott Tolinski
Love heists style podcasts, stuff about that stuff. This one is really fantastic. It covers Yeah. Name. Yeah. Jop rid Oh, okay. I got the
Scott Tolinski
Head on over to syntax.fm implements TypeScript
Wes Bos
workers, for all browsers, then
Wes Bos
increments.
Wes Bos
A worker is a sub process that computes
Wes Bos
part of a larger bit of compute. It often runs on a separate thread, so the main compute process is deployed to Vercel, and it all just works and it works really well, which is it's just great.
Wes Bos
set again. And it's just an awesome company. Also, I'm part of like a Like a home gym Facebook group. And there's like there's another set of adjustable dumbbells called the Nuo Bells.
Wes Bos
I always called them daemons. Are they actually called daemons? Yeah. Well, I think so.
Wes Bos
I sold them because they're just rid Too annoying. The power blocks are the best. Sick. Yeah. I'm a huge fan, and I found Wes
Wes Bos
In the handle itself, you can add 2, 2.5 pound weights, so you can basically get a 10, 12.5,
Wes Bos
They're huge. They're way too big. You have to rid. If the dial both sides in, the locking mechanism gets stuck half the time. I had to oil it and
Wes Bos
Check it on out. Shameless plugs syntax
Wes Bos
the tolerances are so tight that as soon as it gets rid. Jostled around. The whole thing is broken in its landfill.
Wes Bos
Bowflex ones.
Wes Bos
do its work, and then come back when it's done doing its work and say, hey, rid. That thing you asked me to do, I did it. Here's here's the result that like there probably are a couple of jobs out there Where you just do HTML and CSS.
Wes Bos
transcribes one of our episodes. We have a task When throwing an error Svelte is compiled anyone maybe new or didn't catch it all. So They are the rid. Only implementation
Wes Bos
A subprocess is okay, well, I'm running node, but let me run another instance of node I
Wes Bos
lot of Apple So there's always going to be that 1 browser Logitech has a daemon running.
Wes Bos
Things like a database connection and whatnot.
Wes Bos
Demons single sign on. I stats has a demon lower level things that are just always running in the background. Around. Very, very interesting.
Wes Bos
Alright. Thanks, everyone, for tuning in. Catch you later.
Scott Tolinski
the pink panther's story. And this is like a a and that The new keyword is is creating a new error,
Electron uses Chromium, Turborepo uses system browser
Scott Tolinski
in a window is that macOS apps. You're targeting macOS. So we're we're targeting multiple different rendering things. And, typically, like, when people have,
Scott Tolinski
a web browser Yeah. I think, one of the the big things here is yeah. Like you said, like knowing I mean, super painless depending on, Jop Strongs.
Scott Tolinski
Elektron
Scott Tolinski
in running web code
Scott Tolinski
But with Elektron, it it's a Chromium window.
Scott Tolinski
So they're very different in that. Torey Yeah.
Scott Tolinski
And so
Scott Tolinski
where React Native is running a true native app. And that's the big difference.
Scott Tolinski
When we talked in that episode, we said Electron ships a browser, and Tori uses the one that's on your machine.
Scott Tolinski
and Sorry. Don't have x. That's okay. No need to apologize for that, Josh.
Scott Tolinski
are using essentially just to allow editors to create new forms. I want to use a native form, something like Next. Js, that are part of the regular UI. Rid. I want editors to set up forms that control the logic. I understand this should perhaps
WordPress forms work well but hard to integrate
Wes Bos
is still using types, but they are
Wes Bos
when the entry moved into world into the React world for many, including myself. So Like right now, I think you can kind of look at it and say, okay, I have a web app.
Wes Bos
So we have a Didn't
Wes Bos
Ready. And then the turbo stuff, I didn't really pay attention.
Wes Bos
rid is,
Wes Bos
Not that you can't use TypeScript in Svelte, but Svelte itself the worker is not specifically different types of errors as well, because as you get more into to TypeScript, I'm just wondering if you have tried other hosting services. Thanks. So this is a great question. We talked about it a couple times on the podcast. We'll do a quick rundown of rid. So are there out there?
Wes Bos
And in TypeScript. So when they are working on Svelte themselves, make it look awesome rid. Or make an extra feature
Wes Bos
But rid Massive ecosystem of like what happens if you need maps? What happens if you want to do native NFC tag,
Wes Bos
Whenever any of that DHH stuff comes up, I don't really get into it too much because
Wes Bos
form, but it's still a Google. It's still a Google form. It's still a Google form. Even though we could code that as far. We definitely need to put that in the Like, yeah, that's one thing we should do is make the submissions go into the database so that we can just, like, click which ones we want, That's that's part of CSS, right? So if you're if you're concerned with how your component works, interact with it. So, Show me this is a show I want to do is. Yeah. What
Wes Bos
formatting.
Wes Bos
know I was so upset about forms. Yeah. Rid. Yeah.
Wes Bos
to follow Over the past, And that could be sent into a worker, A web worker, it could be a subprocess. So but you get more nice features like real time and whatnot and Supabase Firebase. Those are Probably But this one specifically asking about And we can have a bit better Elektron. And if you want this thing to go mobile, you go works kick it out to
No good service to bridge CMS forms to apps
Wes Bos
I think that is, like, dastardly. It's because, Like the reason why WordPress has it so nailed is because they control the back end. They control your data layer and they control your front end for this type of thing. And you're able to get the source maps and the bugs and all that stuff. So it was too frustrating.
Scott Tolinski
So I I don't know. I'm not saying that there isn't anything out there because there very well could be something I don't know. But the big problem here is the connection to the CMS If you need a connection in the CMS, you need people to be able to easily build forms, yet you need to integrate them somehow into the JavaScript
Wes Bos
experience for someone who's making the forms on the back end. You get conditional or mobile. But
Scott Tolinski
Typeform they changed substantially. They've become more developer focused. They're shipping rid. Features left and right, and it's a wonderful thing. So if if if you, don't follow Jen Simmons or her work or Yeah. You know, are familiar with her, look her up. She's, incredible. Next one from ready. So, Mil, can you compare database as a service and provide your recommendation suggestions?
Wes Bos
Yeah.
Scott Tolinski
app if you're using something like Next. Js or React.
Wes Bos
implementation. You can create custom inputs. You can have the spam fighting, which is absolutely something you need these days. You Can't just throw a form on a page and, rid. Even more complex.
Scott Tolinski
I used Woofoo from SurveyMonkey.
Wes Bos
somebody listening to this right now. Go make a better people that that do some errors.
Scott Tolinski
like this, you just end up hard coding it into your site. It just does not work super well in a WordPress type of situation, On Windows, it's a,
Wes Bos
ready. Really nice editor something.
Scott Tolinski
And so, really, what ends up happening is anytime you need to have a form in a modern JavaScript
Scott Tolinski
I didn't like it.
Scott Tolinski
rid of where we're at today in web development with these things.
Scott Tolinski
allowing editors To click and create their own forms, I think about making this I used to make this stuff in Drupal all the time, and you could train somebody to do that in no time.
Scott Tolinski
And that, my friend, I think is a perfect encapsulation in essentially a mini browser.
Wes Bos
ready. Nice GUI UIs? You
Scott Tolinski
say, hey. You need to have a part of the website I feel like most of the times when I wanna use has, be, like, something I would want to keep. Like,
Scott Tolinski
is is is probably one of the closest things where you're getting into Thing of being, like, explicit
Scott Tolinski
let's say when I went to upgrade how many submissions we could have on our form, even though we were selected to pay monthly, for a full archive of all of our shows.
Scott Tolinski
I it it's a hard problem to solve. I'd be interested if you're out there and you have the perfect solution for Yap here. Rid Let us know. I would love to see something like this because I think it's an interesting topic and definitely one of those pain points that you get when you move from, You know, a CMS solution to a custom app solution. Yeah. It's it's a tricky thing because, like, like, WordPress has us nailed. It's You pay once for, like, the plug in. Yeah. You're not paying through the nose. Like, we had an upgrade. We got a 100 people submit
Scott Tolinski
I don't know if that works well in this form's context, rid But then you get into the whole aspect of handling the form.
Scott Tolinski
I think, Is it, builder.io
Scott Tolinski
If if I was tasked given that task today, a good
Wes Bos
form SaaS
Wes Bos
Forms and also we have to pay more money because we want more than 100 submits like like what a
Scott Tolinski
rid Stuck at this point.
Next.js provides great hosting for React
Wes Bos
amazingly in Next. Js.
Scott Tolinski
Next. Js on in a serverless infrastructure and not just a Node. Js process. Yeah. Yeah. And and you know what? I think there's one thing I really like about The SvelteKit style of adapter,
Wes Bos
rid. Problem, you know, and
Scott Tolinski
So that way,
Scott Tolinski
as well. Yeah. You can choose, hey. I wanna deploy this as just a node app. Use the adapter node. Hey. Now it's a node app. Oh, I wanna use the Vercel one. So you can use the adapter. I think it's just adapter auto for Vercel, but I believe there is an adapter rid or even just a Cloudflare Workers one or whatever. You can use that Yeah. I think that's that's totally fine to do that type of thing. Yeah. I know. DHH gets people fired up. I I really liked his books, so rid. It's hard for me when I disagree so
Scott Tolinski
where
Scott Tolinski
but, yeah, I that I think that's a concern. I think that's a a concern with one of these, like platforms owning owning your platform.
Wes Bos
there are hosts out there. Cloudflare Pages allows you to host Next. Js on it.
Wes Bos
And just to play Devil's advocate as well is that
Wes Bos
an awesome product on top of that to make it work. But Yeah, certainly like seeing that. And there's also the from DAX, the Open Next. Js project, which again will allow you to the goal of it is to be able to host So I think a lot of people who are hesitant dumbbells.
Scott Tolinski
in SvelteKit and many other modern platforms now, you can essentially would have with a an output adapter. Yeah. Remix is, like
Scott Tolinski
So
Wes Bos
Like, I would love to see Next. Js roll that out, but I don't know that they will do that because
Wes Bos
Because just like Node. Js, like if I want to host a Node. Js process,
Scott Tolinski
You know, when you need to host your React site, which a lot of people do, while getting to use all of the secret sauce style things from Vercel, but just not with a Vercel based platform.
Scott Tolinski
the adapter output,
Wes Bos
A host that probably supports Node. Js out of the box instead of like just a straight up Linux box where I have to install Node and run it myself. So rid. This is just kind of like 1 step further in that direction. And I certainly don't blame Purcell for doing it as hard as they have because, yeah, that's why so many people reach for like a Google form is like is saying that your rid. Your framework has failed you or your your thing. You know? People that's why people use Google Forms or Typeform. You know? They're like, there's not something And these things are awesome. So if you want, you don't have a whole lot of space for
Scott Tolinski
hey. You're gonna pick Vercel because it's the best option.
Scott Tolinski
you know, the features that you need. Right? You can't deploy a static site and use server side code That's not during build time. Right? But as long as you're you're doing those things fine, you can pick and choose where you want to deploy this thing. And I like Yeah. I, edge.
Sentry knows a lot about errors and exceptions
Scott Tolinski
when we come up with practical issues, Doubt it. Is it? You know what? You know, the what the big difference is, Wes, is that you're hitting with DAX, So you can go back and listen to that one for more information.
Scott Tolinski
that both of those have acceptable, rid. From my own take. Yeah. Also, nothing is the new IE. IE is what it was, and and there was a point in time when IE was like the the rid to real native code, and it's being able to run
Scott Tolinski
Hey, guys. A little feedback on the recent CSS survey episode.
Scott Tolinski
they both use an on screen keyboard. Anytime somebody would press 1 of the He's in rapid succession to delete a word.
Scott Tolinski
Century. Century does a lot of errors. They'd be good people to talk to about that. It's amazing, and and I don't I don't want this to ever turn into the century hour. Not that it It is, or is it any danger of that? But, like, there's so many times In your recent Tory verse Elektron podcast, I was surprised to not hear React Native mention.
Wes Bos
I probably like 6 or 7 times I hit
Scott Tolinski
And the answer is, I bet someone at Sentry has a good answer for that because they deal in source maps. They deal in errors. They deal in lots of events. They deal in all kinds of big problems.
Wes Bos
rid portion of it. But in in building the whole syntax website, your application to deploying it.
Scott Tolinski
graceful fallbacks.
Scott Tolinski
That's great.
Wes Bos
and I could say, like, if it has
Scott Tolinski
and so pages instead. I had, for some reason, thought I needed some server side stuff, But I did look into
Scott Tolinski
Okay. Next one. Also, you both expressed skepticism that so many people would have used such a new browser feature like subgrid And the HAZ selector, I think maybe you're forgetting
Scott Tolinski
Hey. I am using has, and I just use progressive enhancement.
Scott Tolinski
Thought it might be interesting to know a use case.
Scott Tolinski
So it's a bit of styling mist, and that's just fine for my use case. You know what? So Josh was one of many people that sent us in saying,
Scott Tolinski
1st on touch action.
Wes Bos
Probably 30% of our visitors. Yeah. It's a major browser.
Scott Tolinski
So I want I maybe I need to personally dive into the progressive enhancements for HAS to see, like, what
Scott Tolinski
Next question from Josh Collinsworth.
Wes Bos
for for the rest of jobs, tasks, and daemons or I also I just learned they're called daemons.
Scott Tolinski
One of them is Kina and Hondo are their names. Rid. Kiena and Han I was I wanted to say quinoa, and I was like, that's not how you say quinoa.
Scott Tolinski
I've shipped has to production just because I know that there are browsers that don't support that selector yet. Nothing will happen.
Scott Tolinski
I've built a couple of word games in the browser.
Scott Tolinski
They're both similar to Wordle,
Scott Tolinski
is there a compile away solution that gives you a true fallback for it. Because if there is, then that's great. I would I would be going ham on has. It'd be has city over here for me. Rid. There's not. I think what he's saying here is like make it look decent his girlfriend
Wes Bos
ready. Nice to use HAZ here, but it's not on all the browsers just yet, and it's not something I want to look A standard database type like MySQL, I'm as frustrated as you.
Wes Bos
something with a class of playing, then had a bunch of meetings about content. We specifically asked you to submit the survey, re listener survey, which is really cool. So we went through all of that, what types of content you like, what kinds of content you don't like. We're gonna get new intros to the podcast. That seems to One thing people don't like, because
Wes Bos
on the other one or even just the fallback is not good enough, especially because it's Firefox. Right. That's
Wes Bos
of that can be colored in a different way, right? It's fine if that doesn't work on all the different browsers, especially because such a small
Wes Bos
The parent that that progressive enhancement story isn't super great for me. No. Because rid. If you need subgrid and it's because you need something to go somewhere.
Scott Tolinski
Yeah.
Wes Bos
maybe, for example, the transcripts on the syntax website is like if I wanted to change the border color of the current transcript
Scott Tolinski
Touch screen devices would zoom or drop a review if you like this show.
Safari adds CSS features even without full support
Wes Bos
somebody coming in and doing a little bit more of the CSS. I don't think you have to be an absolute expert on that type of thing, so So I think you can specialize in it. I would still again listen to this podcast,
Wes Bos
type of thing? And my answer ready.
Scott Tolinski
2024 beyond, I feel like the landscape has changed. CSS has gotten so much
Wes Bos
And like maybe all the columns aren't equal heights on this browser. Nah, that's an okay situation. But again, every single time I've wanted subgrid, ready. Maybe 6 months ago now already.
Wes Bos
has that we just talked about. We've got all the different touchscreen stuff. So it is becoming a much bigger
Wes Bos
it's fine if you don't want to get super into it.
Wes Bos
but I'm not super all into the new properties and ways of doing things. Nothing against CSS.
Scott Tolinski
I kinda think you have to have at least a a good enough skill set with, I'm gonna say, flexbox,
Wes Bos
But
Wes Bos
I think I think Zeeshan, as things are going
Wes Bos
I could see
Wes Bos
back end and a little bit more like interaction based.
Wes Bos
part of the thing rather than just making things a specific color. Yeah. I this one's tough for me because I think of, or rid. Or a SQLite
Wes Bos
And one more thing I'll add to that is like CSS is becoming
Wes Bos
We've got crappy and if that's the case, then something like PlanetScale or Neon is probably ideal because You can use your traditional
Scott Tolinski
grid, variables,
Wes Bos
There's so much more So they moved to using JSDoc for that type of thing.
Wes Bos
To that is usually no like.
Wes Bos
I need it like I need it everywhere.
Scott Tolinski
Yeah. And in that same regard, Josh, I do think, you need to know that we do Quite a bit of progressive enhancement. In fact, on the new syntax site, we're shipping the Oh, yeah. View transitions API, which we're progressively enhancing. And let me tell you, The progressive enhancement for that is to just not have an animation. It just works fine. And to me, that's a great progressive enhancement because you're not really missing out on that much essential anything. So we are definitely doing progressive enhancement. I just didn't feel like the has progressive enhancement story was that great, and same with subgrid. I don't I don't I don't. Maybe I'm missing something there, but subgrid to me feels like one that, you know, I I guess you could use it, but, like,
Wes Bos
Ready. I'm much more interested in the JSTS side of things. Is it career suicide for a front end dev? I'm low key having an identity crisis.
Wes Bos
building components.
Wes Bos
you're going to need a little bit of JS. Rid. But on the flip side,
Wes Bos
in CSS.
Scott Tolinski
I don't know. I I think at various points in the front end world, This is one of those rid Problems that like, I remember hitting stuff like this moving over to custom app AppFlow, and the answer ends up just being code it yourself, but then you lose all of that rid Editor functionality that you you know you know and love with this. Yeah. Look look at us. Our potluck I I took the time and actually embedded rid The potluck
Wes Bos
And then
Wes Bos
that I've used, I'm just not interested in it enough to go deep into it.
Scott Tolinski
rid Like, to be able to make layouts or invest heavily into a framework. It's true. Because, like, if you're if you're a a bootstrap or a a tailwind or something. If you're like a JavaScript, ready. You're
Wes Bos
Am I not meant to be a front end dev?
Wes Bos
and not really get too much into that JavaScript Sorry, Yap. I don't know.
Scott Tolinski
And so
Wes Bos
and you do a lot of interaction, So Man, rid Awesome. Yeah. Shameless plugs.comforward/courses.
Wes Bos
of the better app layout mechanisms rid was a fantastic show. Classic, 2000 p h one reality TV show right there. Impressive. Never heard of this. Oh, yeah. Ready. Alright. Last question we have here from Westa's Pacificcity.
Netlify makes Next.js work well
Scott Tolinski
And then, like, there's flight control that we also talked about, which is kind of like a very similar concept of Getting you set up on an AWS type of platform.
Scott Tolinski
the flow of hosting on there, and it all just seemed
Wes Bos
on Netlify as well.
Wes Bos
rid. Have you tried other hosting services
Scott Tolinski
Next JS style stuff on I mean, sure, with floats and and collapsing, Incredible.
Scott Tolinski
Docs for not just Next. Js, but Remix felt Astra Solid. So, you know, it's a platform for hosting,
Scott Tolinski
I didn't need that much, so I just threw it on a a Cloudflare And in Apple, it's, You know, Safari web kit.
Scott Tolinski
In fact, we did an episode on SST
Scott Tolinski
why they've gone so hard into Next. Js and have invested so much money on in, like, kind of,
Scott Tolinski
So if you're the type of person who is worried about the type of luck, and I know SST does a great job for that. They even have
Scott Tolinski
quite a bit in terms of, like, SST
Wes Bos
But API or their own.
Scott Tolinski
route very recently and just ended up realizing but it's easier to accomplish things with grid and Flexbox than there ever was. So that, like, very specific domain specific knowledge of,
Wes Bos
as well? So, Scott, have you gone down that route at all? Yeah.
Scott Tolinski
essentially
Scott Tolinski
So there are those very real questions. It is a concern. I think it's by design. It's Probably the reason
Scott Tolinski
I don't wanna say taking over the React platform, but really becoming the React platform.
Scott Tolinski
Yeah.
Need to know enough CSS with JavaScript
Wes Bos
is touch action.
Wes Bos
Like, good chunk of that is JavaScript. It's also CSS, and it's not like you're just gonna build the JavaScript part read and, like, leave the CSS part. So maybe maybe I'm gonna walk back my my thoughts here. I think you might be right. It's like like, it's just a tool. Like, you're you're building an app.
Wes Bos
making style systems, all of that stuff. Yeah, that's probably somebody else. But yeah, yeah, you do need to know that layout stuff. And and even the last question is like
Wes Bos
how it works.
Wes Bos
done in the CSS as well. So,
Wes Bos
The interaction So every time a new Next. Js version comes out, they have to sort of scramble and figure out, All right. How do we make this work the exact same way? Serverless functions, edge functions, all of that good stuff
Century tracks errors and exceptions
Wes Bos
there are others.
Wes Bos
when you host the thing on Vercel, right? Like you can do middleware and that is deployed as an edge function.
Wes Bos
Next. Js obviously React framework We said This is a really interesting question because I get the opposite question all the time. Can I just do CSS And the 2nd part of this question was,
Wes Bos
ready. In Next. Js works super well
Wes Bos
that
Wes Bos
don't Perfectly translate to the experience that you get on Vercel. So, yeah, that's certainly something to think about, and it is a very real concern. I know Netlify has ready. Dedicated staff But the other another good chunk of it is something on a BlackBerry. Or how do you how do you lay out something in in Android? And is it better than what we have with CSS for complex layouts? using JSDoc for that type of thing.
Wes Bos
You can create like API routes, and those will be deployed as serverless functions and all the good stuff I'll go to
Wes Bos
Next. Js itself has like a build output API where they will
Wes Bos
Can you count on them to be able to handle all the Next. Js specific requirements? So like, in that case, like React Native is Like, it depends on what you're doing, but Ready. So, yeah.
Wes Bos
ready. New create react app, I'm thinking, does it mean vendor locking yourself in? I know Netlify is All right. So the question here is they're generally React Native developers.
Wes Bos
to make the frameworks work perfectly.
Wes Bos
and jobs or tasks, things that need to be done. Wow.
Builder.io allows editors to create components
Wes Bos
Yeah. Strongs.
Scott Tolinski
Although I love modern tech stacks with headless CMSs and blazing for
Scott Tolinski
by WordPress and its ecosystem of forms, plug ins like Gravity Forms, re WP forms and let the CMS editors create any type of form but allow you to use your own UI elements. Yeah.
Wes Bos
and I was like, like, dude, like your Often applications will run demons separately because if you kill an application, more things than one simple thing. So A process
Scott Tolinski
Alright. Next question is from,
Scott Tolinski
you can think of that also connects The third party systems, complex conditional email notifications,
Scott Tolinski
that will do like an iframe I it was like something I wouldn't want to just not work if I didn't have halves.
Wes Bos
the listener survey.
Scott Tolinski
no longer be organized by the CMS service where the website content is stored. Rid. Is there a dedicated forms service Scott, you just you just made me walk back my answer there. I think you're right. The the tools are tools. Right? You gotta you gotta learn them all. That's part of the job. Yeah. Part of the job. Unfortunately, now we got a lot of tools ready to learn. That's just how it goes. Right? Bunch of big tools over here. Yep. Tool Academy. That's what you're listening to. Do do you ever watch that show? That was a TV show, a reality TV show. Rid Tool Academy? Tool Academy. I believe it was on, like, VH 1 or something. And the the premise of it is that they would have, My name is Scott.
Scott Tolinski
self hosted or as a SaaS that lets you create forms that you can reference in your CMS that You can handle the data processing and email notification stuff, React Native looks a lot more attractive. You know? I like React Native as a platform. I've built apps in it, and for the most part, it's rid Way nicer for
Scott Tolinski
A service, a dedicated service. Right? There are plenty of these form services
Wes Bos
She went and made the form and I was like, all right, let me jump in there and like, just tweak the The design and whatnot. And like we had we had 1 question, which was like, which of these episodes do you and do you not like? And it's a lot, right? So I wanted to make the UI as
Scott Tolinski
confirmation flows, etcetera.
Scott Tolinski
For many years, I've been spoiled
Scott Tolinski
Currently, I hard code important forms into a website install WordPress on a subdomain I have not. In fact, I was going to do the SST
Scott Tolinski
a good like opening
Wes Bos
There's no control over literally anything. And it looks like garbage on mobile. You can't like even put a little bit of CSS in or like have there's no knobs or anything to even just turn rid. Then I guarantee they're going to they're going to roll out some like real time amazing feature
Scott Tolinski
is a 1,000 times better than this, like, major corporation. You know? Golden. It's great. Anyways, I I've used services. I've used Formsbury. I don't like it.
Wes Bos
type
Scott Tolinski
rid. Experiences, like, they're the type of thing I would use if I didn't have access to a back end, whatsoever or any sort of serverless functions. Let's let's call out a awful service. We use
Scott Tolinski
fast front ends running React or similar, I'm at a loss when it comes to Implementing forms.
Turbo removed TypeScript, different than Svelte
Wes Bos
similarly to TypeScript. But they get stripped out by the browser So that you don't need to have are fantastic.
Wes Bos
You have different opinions on how to do things. Yeah. And if you don't like something like that, or you think that you it is easier for you.
Wes Bos
So these are not the same situation. I should say that there's a proposal to do exactly that in JavaScript. It's called types as comments, which is, It's just one They run continually on your system, Alright, Wes. You wanna get into it? 1st question from doctor Pupkis. Hi, guys. Long time listener. 2nd time questioner. Since Next. Js is becoming the de facto
Wes Bos
to the thing. So abandoning TypeScript.
Scott Tolinski
JS doc so that they don't have to Run their code through a build step, but they're not abandoning types.
Scott Tolinski
directly with some of the things he says, but it's okay. Yeah. We can all have different opinions.
Wes Bos
You're probably right for your use case. You're probably right. You're probably a pretty smart guy. You probably know what you're doing.
Scott Tolinski
distinction that we need to make Because so many people have ran with that, and I saw that all over our Twitter during the DHH stuff was Alex. Felt could abandon it. No. They did not. Felt could did not abandon types. They did not abandon TypeScript. They abandoned how they author their TypeScript.
Wes Bos
And Is it okay to be a front end developer and not Be as interested in CSS. I know enough CSS to be dangerous, Welcome to Syntax. We've got a potluck for you today. This is where you submit the questions. We bring the Answers some really good questions today around Netlify and Next. Js and hosting and actually rid. Netlify does and there's lots of hosts out there where they're like, Okay, well, rid It's giving up. It's giving up. Yeah. I'm gonna throw this ugly ass form on here.
Wes Bos
a builder compile step. That's kind of like our our North Star in JavaScript is. Will we one day That is
Scott Tolinski
is very different than changing how you author types. And so I think that is a, like, a a a clear This feels like Now is the part of the show where we get into sick picks. We pick things that we think are sick. A lot of fun things here could be literally Anything. I'm gonna be sick picking a podcast today. Throw it up my alley. If you've ever listened to any type of podcast that's in, like, heists, I don't wanna say easier because there's more properties,
Scott Tolinski
Turbo abandoning types And TypeScript entirely
Scott Tolinski
Your code is still completely TypeScript
Wes Bos
And, So tired people at Century that know way much about SoreSmack.
Wes Bos
not have to run what
Scott Tolinski
safe and, in on that key. Rid. So touch action manipulation solve that for me. Josh, you have unlocked touch action for me. That answers the question. Love it. Touch devices.
Wes Bos
Tooling
React Native makes native iOS and Android apps
Scott Tolinski
and you can't just rid. CSS background black, and and it works. You gotta figure out what the equivalent is there. Yeah. And and I do wanna say one last add on here. Tore and Elektron are kind of write once deploy everywhere I I needed that, Wes. Thank you. I don't know any any, Dutch names.
Wes Bos
Then React Native system is there. It's true. Like it's
Wes Bos
React Native or one of the other there's whatever you have on Android.
Wes Bos
it's all your form taking UI the difference is that when you run Next. Js elsewhere,
Wes Bos
it's it's not that they're of a unit of work.
Wes Bos
options out there. And Tory is starting to go us as a podcast syntax joined Century,
Wes Bos
I can't I can't imagine anyone would look at Tori and React Native and be like, you know, Tori is what we want because React Native has this massive,
Wes Bos
if you want this thing to go desktop, We got view transitions.
Wes Bos
Taking over. All right. Next question from MyCodeErrorsalot.
Wes Bos
Generally, when you talk to people that are React Native, know, like there's And what and about some big companies are hesitant to migrate their React app to next, given that has been rising popularity and being easier right? And a lot of these services, Supabase, PlanetScale, whatever you have on Ios, processes like when you go from So for example,
Wes Bos
And
Wes Bos
native layouts of ready. Mozilla's business model doesn't work that well anymore. There have been major cuts on that type of thing.
Wes Bos
Sauce taking over.
Wes Bos
They're not. Obviously, there's some web developers that do both, but it seems to be a specialization do this work The increments. I did the I had to design a whole sticker for my vintage set, so I understood expect that not to get abused by bots. And then you obviously have the front end, all the JavaScript with that type of thing. So,
Scott Tolinski
So there I mean, there there's overlap in the fact that you're building desktop or maybe potentially mobile apps with them, whatever, read. Just in a different manner.
Scott Tolinski
types of situations, right, but a build step does not ruin my life. The people act like a build step kicked their dog or something. A build rid Step did not kick my dog. I largely do not care. It's fine.
Wes Bos
you go Tori or Maybe.
Scott Tolinski
Where React Native is not that way at all. You have to be authoring for React Native. So much to the point where there's a React Native web To translate React Native apps to back to the web. Did you know that I I didn't even know this. Microsoft if you're the type of person who is afraid of that, there are options out there. Again, SST, I think, is probably the the best of those options,
Wes Bos
rid. Maintains React Native Windows and React Native Mac OS.
Scott Tolinski
where you could write
Scott Tolinski
me to get into a mobile app development than anything else. But
Scott Tolinski
But that's pretty much it. The approach they take is is very different.
Wes Bos
like Scanning, you know, like as soon as you hit all of those. Oh, but we need something that's native ish. Native APIs.
Transcript
Wes Bos
go to syntax. Defam. There's a button that says submit a potluck question.
Wes Bos
Send it our way. We love getting these, and, we do 1 a month. So my name is Wes Bos, developer from Canada.
Wes Bos
lots of really good JavaScript questions today.
Wes Bos
I was surprised at all the great questions we had. So if you have a question, So
Guest 99
You're listening to Syntax, the podcast with the tastiest web development
Guest 99
Here is Scott Talinski and Wes Bos.
CSS is required as part of front-end job
Scott Tolinski
So he had, like, he had a a 22
Scott Tolinski
You know, 15 tools, it's a bunch of dudes who are tools, and they were, like, trying to reform them
Scott Tolinski
back home saw the show that he was on and then contacted the show to be like, He's on the show with another girl, and I'm actually his girlfriend.
Scott Tolinski
on the show. It was a bunch of tools. It
Scott Tolinski
woman confrontation decided to automatically move it over to a yearly subscription Of course. When I did as a as a like, the there was no toggle for We just did it automatically. Type 1, a big old middle finger emoji for that.
Scott Tolinski
And it was very funny.
Scott Tolinski
It was definitely there there were tools. 1 guy oh, they they they were on the show with their girlfriends, and 1 guy was such a tool rid That, Alright. Next question from Tory not Tory.
Scott Tolinski
from being tools.
CSS is easy with Grid and Flexbox
Wes Bos
to listen to that one on serverless databases, and we sort of like talked about
Wes Bos
51 So both the server and the client,
Wes Bos
either something traditional like a MySQL
Scott Tolinski
Really change the game there in terms of making that stuff easier.
Wes Bos
Or can you do an episode comparing the different options rid. Like Supabase, PlanetScale, Neon and others. I would love to hear your perspective on these. Also, thank you. Syntax is my favorite podcast. Yeah. We did a show episode 551. You can go to syntax. Fmfive
Scott Tolinski
rid zones and and, you know, pulling things out of the document flow.
Wes Bos
the and, ready to go for the the remainder of this year and onwards into next year. Yeah. It was it was kinda fun. So it's the first ready. Time that we had the whole like for Like you could also say like that's more of like a infrastructure are. That's good. And you just sit on your hands and see how this sort of pans out. There's been a lot of changes in rid. Last year or so.
Wes Bos
services, and make it open source so that we can host it ourselves because this this is a problem, right? You're either paying through the nose to be able to use your form or you have to, like, code it yourself every single time and and use, like, a a library for it. And let me elaborate, sorry, to to interrupt rid you here. In addition to that,
Scott Tolinski
and Firefox back in the day was was or even, you know, years ago It was great. I think the common denominator there is, as you mentioned, Jen sim Simmons. I mean, she worked at Mozilla for a long time and then went from Mozilla to work at Safari, and rid. It it seems like it's no surprise that now Yeah. That sent it is it is actually a direct line. A direct correlation.
Scott Tolinski
many years. So, hey, before we move on, I do wanna say you you mentioned that, you know, rid. Safari is the new Firefox, where people can create a custom form. Hey. I don't. I might have to build that myself. I I honestly have no idea what I would tell them to do, or I would pick up WordPress. So I think you're rightfully
Scott Tolinski
I think those things are all valid concerns, but they're not concerns really anymore. Rid. I've I've never I haven't done a float in years,
Turborepo removed TypeScript for performance
Wes Bos
answer the question of what's the difference between new error and error. And finally, there is
Scott Tolinski
is more of a convention than anything else, And people use it to be explicit about when they're creating an error versus when they're, like, passing on an error.
Scott Tolinski
I was like, wait. Does it matter?
Scott Tolinski
You know who deals in errors really well? Oh, yeah. We know a couple but, things like Hasura, which is you know, allows you to have an, You know, basically, a GraphQL
Scott Tolinski
I don't know better otherwise. So if you're a a deep expert on throwing a new air And it's beyond what I've mentioned here. Please let us know because it seems to be
Wes Bos
or not, does it matter at all? Throw new error, boom, or throw error, boom.
Scott Tolinski
if if you're out there and you're an error expert and and you have any additions onto this, please, again, tweet us. We'll we'll, retweet you. We'll shout you out. My understanding of the situation
Scott Tolinski
You can continue to throw that error instead of throwing a new error, and, like, that way, you'll maintain a consistent error type.
Scott Tolinski
sometimes that's it. The other the other bit is is that, like, let's say you're catching an error and then you want to rid. Throw it further down the line.
Scott Tolinski
but in practice,
Wes Bos
Stack Overflow
Scott Tolinski
yeah,
Wes Bos
There's
Scott Tolinski
rid. One little comment here. Error is functional, new error is a constructor. Both both work the same. Yeah. So there you have it. And that's that's largely what I got out of it. Functionally, it all kinds of come it all kinds of ends up being the same. I think we should do a show on
Wes Bos
Do I use the new
Wes Bos
That's a good question.
Wes Bos
Do you know? in understanding how all of that stuff works, even like layouts You have it's a different way of doing layouts. They have Flexbox, but they usually kick off
Scott Tolinski
based on what I researched not that I'm planning a diamond heist or anything, but I I think it's just Incredible. So check it out, the infamous international. It's really fun. I'm going to sick pick something that you probably sick pick, like, rid Or four four and a half years ago? Ago. Yeah. This is, PowerBlocks,
Scott Tolinski
it's a convention
Wes Bos
I'll say, like, throw new
Scott Tolinski
So,
Scott Tolinski
it's mostly just a
Scott Tolinski
and it being a convention. There's a massive
Scott Tolinski
JSON API error. So I did some research on this when I picked this question because specifically,
Scott Tolinski
And
Welcome from Toronto after Syntax Summit
Scott Tolinski
Feeling reenergized
Scott Tolinski
perfect place to track all of your errors and exceptions.
Scott Tolinski
And if you're having software bugs or anything, Century's got your back and, tracks performance, tracks all kinds of stuff. It's incredible. So check it out, Century. Io.
Wes Bos
With me as always is mister Scott
Scott Tolinski
Just hanging out. I, yeah. Just just, even a PlanetScale. Right? Those are rid. Serverless database is hosted somewhere where Supabase includes auth. It includes
Scott Tolinski
rid. Met a lot of really awesome syntax listeners,
Wes Bos
And we all Yeah, March, end of March. Yeah, we all went to the Sentry office last week And
Scott Tolinski
Yeah. Feeling the vibe. We we had a little, team summit. I was calling it the Syntax Summit Yes. In Toronto. And so we had a meetup, Red. So, layout tools have to hit so many different rendering
Scott Tolinski
Doing good, man.
Firefox has more issues than other browsers now
Scott Tolinski
I like Firefox.
Wes Bos
Oh.
Scott Tolinski
but most of them. So Firefox does feel like it is lagging behind, And that could be for a number of reasons.
Scott Tolinski
this is Scott's take. This is not Syntax's take. Yeah. I think you're I I use Firefox now as my daily driver.
Scott Tolinski
are last to come to Firefox. Not all of them, Supabase a lot of, just really cool people, and had a great time in Toronto feeling When she joined Safari,
Scott Tolinski
Or just in general, and there's a lot of things that I do prefer about it. But I wouldn't necessarily say it's the most advanced or most consistent
Scott Tolinski
or just in general. I also noticed that most of the APIs that I want
Scott Tolinski
than Chrome or Safari these days, rid A web app that works on the web and then wrap it in a Tori or an Elektron wrapper and deploy it as a desktop app. Lots of desktop apps work that way,
Scott Tolinski
I do notice Firefox has more issues it ultimately is doing the same thing at the end of the day. Right? It's throwing an error. So whether or not you're throwing a new error or you're just throwing an error in terms of, like, replicating that functionality,
Scott Tolinski
performance wise oh, when I do gotta do the clear face and this like, those things have gone out the window, so now you learn it once, and you don't have to get as deep. Right?
Scott Tolinski
fancy race car and everything else sucked. So, you know, everything's relative to its time being. Nothing will ever replace rid What we had with IE. Yeah. Here's here's my spicy side dish is Safari's the new Firefox.