Let’s Build a Svelte/Sapper App

Let’s Build a Svelte/Sapper App

Let’s Build a Svelte/Sapper App. Part 6: In the penultimate instalment of this series we are going to polish the application before going live. Part 6: Last Details

Part 6: In the penultimate instalment of this series we are going to polish the application before going live.

Photo by Limor Zellermayer on Unsplash

Last week we allowed our users to create new game pages when the game they are looking for it is not in the database. This is the penultimate part of this series, so we are going to polish the last details for the web application before going live.

If you want to jump straight to the code you can find it here.

Search Bar Interaction

To provide a better user experience we will add two small features.

The search bar will reset when the user goes to the create page, and to avoid navigating away by accident when clicking the search bar, it will be disabled. If the user is filling the data for a new entry and clicks or tabs to the search bar, they would lose all the data filled, which would give a bad experience.

Since the main goal of the web application is for the users to search games, when they click on the search bar, they will navigate to the list and the input will be focused.

sapper typescript svelte javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Setting Up a Full Svelte Sapper Project

Setting up a full Svelte Sapper project. This series will show the whole process from idea to production of a full Sapper project. This introduction explains how to set up the project.

Let’s Build a Svelte/Sapper App

Let’s Build a Svelte/Sapper App - Part 2: Building the list of searched games; that includes the database model, the API endpoint, and the rendering.

Svelte Adds Official TypeScript Support

by Dylan Schiemann The Svelte JavaScript framework leverages TypeScript, but until recently, it was challenging to use TypeScript to create Svelte web apps. The latest Svelte updates add official TypeScript support to Svelte.

What is TypeScript? Why TypeScript? and Why Not TypeScript?

TypeScript extends JavaScript by adding Types. There are many great reasons to switch to TypeScript. Especially if your team uses JavaScript. There are some reasons to not use TypeScript as there are with any language or framework.

Will TypeScript Replace JavaScript? Learn TypeScript | TypeScript Tutorial 2021

In today's video, I'm gonna show you all the basic concepts you need to know to be successful with TypeScript as well as how you can start using TypeScript right away with React. TypeScript will make you a better JavaScript developer for several reasons. You’ll feel confident when writing code. Fewer errors will appear in your production code. It will be easier to refactor code. You’ll write fewer tests. And overall, you’ll have a better coding experience in your editor.