Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Front-end rearchitect SPA
Search
South
July 28, 2022
580
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Front-end rearchitect SPA
South
July 28, 2022
Transcript
30 slides
kaonavi Tech Talk # 7 Yuuki Minami SPA
Yuuki Minami 2018 4 CTO FEST 🍜 @maminami_minami
7 MPA SPA
None
Front-end Back-end Infrastructure
( )
Laravel (PHP ) Multiple-Page Application React HTML Laravel View API
Laravel Laravel PHP
(Laravel PHP) ⾒ TTFB
None
7 2019 React jQuery (Laravel PHP) EC 2
Laravel (Front-end Laravel) ⾒ 💪 💪 💪 💪
MPA SPA API Next.js CloudFront + S 3
SPA
SPA
SPA ( Laravel MPA) & SPA -> React Router v
6 SPA
URL Middleware, Controller Action Dispatch Side E ff ects MPA
MPA SPA MPA: Side E ff ects SPA: Side E
ff ects Side E ff ects
Side Effects SPA SPA : Side E ff ects (
) SPA Controller SPA URL Side E ff ects Controller SPA
Controller Controller Controller Fat 🤢 API Controller SPA Controller SPA
SPA
SPA SPA 🤫 ⾒ 👮
SPA
React Router SPA Next.js (next/link) Location State React Router
Link, useNavigate (state Omit) MPA Side E ff ects <Link>
Props shouldPageLoad
Router.tsx <Route> SPA src/pages Next.js
Code Splitting React.lazy Code Splitting✂ SPA
ESLint no-restricted-imports rule no-restricted-imports import import paths patterns ESLint >=
v 8 . 1 9 . 0
None
MPA SPA 🥺 🥰
None
!! !!🕺 !
More Decks by South
See All by South
Automating Web Accessibility Testing with AI Agents
maminami373
1
2.1k
TSConfig Solution Style & subpath imports to switch types on a per-file basis
maminami373
2
370
JSConf JP 2022 introduce React Query
maminami373
2
7.5k
JSConf jp 2021 kaonavi front-end development in the monolithic service
maminami373
1
290
単体テストゼロからテスト文化を醸成させた話 / Fostering the testing culture
maminami373
0
2.6k
Featured
See All Featured
From π to Pie charts
rasagy
1
460
Prompt Engineering for Job Search
mfonobong
0
610
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
4k
HDC tutorial
michielstock
2
1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Visualization
eitanlees
153
17k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
680
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k