質問: シングルページアプリケーションを作る時にルーティングにフラグメント識別子を使うとURLが`https://example.com/#/article/15560239`みたいに#が含まれる形になります。 これはブサイクですか? TwitterはSPAですがHistory APIを巧みに使っているためURLに#が含まれません。 URLに#を入れると「History APIが使えない雑魚」みたいな印象を与えますか?
回答: > > When I created this component, other routers for Svelte 3 implemented navigation using the HTML5 history API. While those URLs look nicer (e.g. you can actually navigate to `http://example.com/profile`), they are not ideal for static Single Page Applications. In order for users to be able to share links or even just refresh the page, you are required to have a server on the backend processing the request, and building fully-static apps is much harder as a consequence. > > > > >