home.social

#spa — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #spa, aggregated by home.social.

fetched live
  1. Страница, которая не моргает: SPA-роутинг для HTML и Web Components

    Фреймворки дают клиентский роутинг из коробки. У HTML и Web Components его нет. Если сайт уже отдаёт полные страницы, а клиентская навигация нужна только для части разделов, переписывать всё на фреймворк незачем. Aura Router решает эту задачу, сохраняя HTML исходной точкой: маршруты объявляются как Custom Elements, а ссылки остаются обычными <a href> . Без JavaScript те же URL открываются как обычные страницы. В статье соберём минимальный сайт из двух страниц и проверим прямой заход по URL, клиентскую навигацию и работу ссылок без JavaScript.

    habr.com/ru/articles/1071552/

    #SPA #роутинг #вебкомпоненты #клиентская_навигация #HTMLfirst #progressive_enhancement #Aura_Router #web_components #mpa

  2. Exploring Andorra: The best things to do in the microstate aside from skiing and shopping.

    The highest capital city on the continent, Andorra la Vella boasts historic buildings, impressive sculptures and the largest thermal spa in southern Europe.

    mediafaro.org/article/20260816

    #Andorra #Wellness #Spa #Shopping #Skiing #Travel

  3. A story about my hometown.

    I was born and raised in a city called Daejeon in Korea. There's a district called Yuseong, which is famous for its hot springs dating back to the Joseon Dynasty. The photo above shows what Yuseong Hot Springs looked like many years ago.

    Yuseong is quite large, and it wasn't originally part of Daejeon. In fact, Yuseong was once larger than Daejeon, before Daejeon began to grow around its railway station. As Daejeon expanded, Yuseong was eventually absorbed into the city in 1914.

    But that didn't change the popularity of Yuseong's hot springs. People from Daejeon often took buses all the way to Yuseong just to visit them, and getting there was quite a journey back then. The hot spring district may have been smaller than it is today, but it was already well known, partly because of a story that a king of the Joseon Dynasty was cured of a skin disease after bathing in its waters.

    Sadly, the hot spring district has been declining in recent years, and many businesses struggled to recover from the COVID-19 pandemic. Still, Yuseong Hot Springs remain an important part of the history of my hometown.

    #Daejeon #Yuseong #Korea #Korean #history #historicphotos #oldphotos #HotSpring #Onsen #spa #MyHometown

  4. HTML over WebSockets: real-time SPAs with barely any JavaScript

    Building a SPA (Single-page Application) is a complex puzzle: a JavaScript framework that draws the view, an API serving JSON, and 2 independent codebases forced to understand each other through contracts. It is an accepted, professionalized scenario. […]
    — by @andros

    🧑‍💻 en.andros.dev/blog/ef4968f5/ht

    #javascript #websocket #html #webdev #spa #api #json #webdev #frontend #web #barely

  5. Horrible admission on my part here but...

    For a #SPA... The recent versions of #react is actually NOT horrible...

    Function-based components, `useState`, `useEffect`, TanStack Query... Actually getting a pretty reasonably structured codebase, and an interactive UI, where state flows properly without a million lines of boilerplate.

    Not ready to say that I enjoy it, but I'm definitely positively surprised, after giving React shit for years.

    Keep in mind though, that this is browser-only, statically built js. No server-side JS. No Nodejs running on the server.

  6. @jonyoder I'm finding the following really quick and economical to work with:
    1) #HTMX and #Hyperscript in the client,
    2) #Kotlin in the server, generating all client code dynamically using an HTMX #DSL.
    Wih this rig I can easily generate either page-by-page code or an #SPA.
    Only a few lines of hand-crafted Javascript needed for special cases.
    (#HobbyCoding)

  7. От идеи создания своего React‑проекта до столкновения с реальностью

    Книжный тир-лист, SPA, боты и 55 запросов в месяц. Честная история пет-проекта: от «все обнимут меня» до пререндера и коллабораций с блогерами.

    habr.com/ru/articles/1067532/

    #SPA #seoпродвижение #React #индексация #headlessбраузер #prerendering #петпроект #книжный_тирлист #BookStrata #ssr

  8. Приложение открывается только с VPN. Разбирался почему

    Пользователи из регионов начали писать в поддержку одно и то же: приложение не открывается. Симптомы у всех разные. У кого-то вечная загрузка, у кого-то белый экран, у кого-то заходит, только если включить VPN. На своём компьютере всё летает. С зарубежного сервера проверяю, тоже без проблем. Сижу, чешу затылок. Сначала списал на случайные глюки у провайдеров. Мало ли, бывает. Но обращений становилось больше, а не меньше, и в какой-то момент стало ясно: это не совпадение, это системная штука. Пришлось лезть в сетевой дебаг с головой. В этой статье расскажу, как искал причину таймаутов, что в итоге поменял в инфраструктуре и почему обычная сборка Vite с разбивкой на чанки превратилась в проблему, а не в оптимизацию.

    habr.com/ru/articles/1065126/

    #cdn #nginx #vite #selectel #tcp #сетевая_доступность #frontend #отказоустойчивость #spa #сервер

  9. Почему сайт невидим для роботов: проблемы вайб-кодинга

    Вайб-кодинг уронил порог входа до плинтуса: Lovable, Bolt или v0 соберут лендинг за вечер. А потом сайт неделями болтается на дне выдачи, и даже ChatGPT про него не знает. Спрашиваешь у нейронки, почему SEO хромает, — она валит на «непродающие тексты». Причина обычно глубже: для поисковых роботов ваш сайт буквально пустая страница. Внутри: почему нейронки по умолчанию лепят SPA, как на JavaScript смотрят Google и Яндекс, почему GPTBot и ClaudeBot скачивают ваши скрипты, но никогда их не запускают, работает ли llms. txt и какая одна строчка в промпте все чинит.

    habr.com/ru/articles/1062668/

    #вайбкодинг #spa #ssr #frontend #react #next #seo

  10. Wine Country Resorts with Unique Wellness Experiences

    Whether your idea of a peaceful and rejuvenating getaway is lounging poolside in a cabana with a chilled glass…
    #dining #cooking #diet #food #MediterraneanWine #Wine #carmel-spa #carmel-wellness #Mediterranean #napa-spa #napa-wellness #sonoma-spa #sonoma-wellness #spa-and-treatments #spas #wine-country-pool #wine-country-spa #wine-country-wellness
    diningandcooking.com/2735526/w

  11. That's exactly right, @dimpase. #RedBull did employ the #drafting tactics, during #Spa qualifying. Of course, drafting is as old a technique as Nuvolari’s four-wheel drifting technique. And NASCAR has been using the drafting technique, since its inception. But what RB did yesterday was rather extreme: Hadjar spent his entire Q3 towing Verstappen and didn’t even get to set a lap time. This is not #F1, it’s Tour de #Farce.🤦‍♂️

  12. 1/ Homemade coconut body scrub

    1 - Gather main ingredients (there's only 2).

    2 - mash it into a smooth blend

    3 - 4 Throw in brown sugar and blend together, about 1:3 ratio (sugar: Coconut oil) (Soft white sugar can be used too)

    #homemade #bodyscrub #diy #recipe #health #spa #simple #easy #vegan