Rich Harris - The Road to SvelteKit 1.0 (Svelte Society NYC)

over 3 years agoApril 6, 2022
40:32
26,769 views
695 likes
S

Svelte Society

Channel

Interviewed Person

Rich Harris

Description

Rich Harris talks us through some new features in SvelteKit and what's coming next.

Transcript

Group by:

So I'm gonna just create a little demo repo to show off the integrated testing that we now have. If I do NPM init and it's felt at next my demo app. Keep the fire going there. Can people see that? Yeah. Create a skeleton project. We will use

If I do npm test, it will run some tests.

And what that looks like here is. Yes, I trust the authors. In here we have a test JS file that was created for us that just has a single simple test. And what it's doing is it is opening a browser. It is navigating to slash on our development server. Actually, it's building the app first and then it's running the production version of the app locally.

And it's basically just like running a full browser,

and then in case anyone hasn't actually seen what the skeleton app looks like, this is this is all it is.

And it's got a lot of stuff that has been added to SvelteKit in the last few weeks.

So we've added an additional slash photos route and a little bit of.

So you can see that your Svelte component, which defines the page, will have a load function.

81 segments (grouped from 200 original)6014 words~30 min readGrouped by 30s intervals

Video Details

Duration
40:32
Published
April 6, 2022
Channel
Svelte Society
Language
ENGLISH
Views
26,769
Likes
695

Related Videos