• vite is used mostly for bundling end applications, but it can be also used for building a library, like a UI component library. What makes library mode special is that you can specify the entrypoint file while in normal mode your entrypoint is forced to be a HTML file. There is a documentation on official vite webpage and it's pretty straight forward.
  • I think Table of Contents (In short TOC) is the key feature in posts. It helps users spot the key points, catch where they are reading right now, and jump between the sections easily.
  • We all know that React components will rerender upon its state changes, and useEffect or useLayoutEffect will run everytime they rerender. Thus as long as we specify proper dependencies for them we will have the latest effects running. Then even though we might have several rerenders, we are sure that we will have the correct states and render results eventually.
  • I have a simple toy which should run on different platforms, like Windows and Linux. At first, I coded the project with Java and provided jar file which can be run on Java Runtime Environment (jre). But it felt a little too much to install runtime for this application so I decided to give .NET a try which provides AOT compilation.
  • I have been using Thinkpad e15 gen 2 AMD with Windows installed since I had been discharged from military service August 2020. I have been with this laptop for almost 5 years and been loving it but it also had many unacceptable problems.
  • 휴대폰의 세상에 우리는 휴대폰으로 사진을 찍고, 영상을 남기며, 문서를 저장합니다. 그렇게 작은 폰에 우리의 디지털 정보들을 남기면서 이런 생각을 하셨을거에요. "민감한 데이터를 이렇게 저장해도 안전할까?" "중고로 다른 사람에게 팔면 그 사람이 내 파일을 볼 수 있지 않을까?"
  • 웹 플랫폼은 기기, OS, 브라우저에 관계 없이 동일한 동작을 보여준다는 특징이 있지만 항상 그렇지는 않다는 것은 널리 알려져 있는 사실입니다. 몇 년 전까지는 인터넷 익스플로러가 이 분야의 최강자였지만 IE가 사라지고 난 뒤에는 사파리가 그 자리를 차지하고 있습니다. 예시로 크롬에서는 2013년부터 지원한 Date Picker 기능이 2021년 4월에 추가되었습니다.
  • My blog support light and dark themes. You click the color theme button inside the header and it updates without reloading, seamlessly. It all thanks to client Javascript.
  • The most important point when it comes to making a blog. Show your blog posts. Before migrating to Sveltekit I had been using Jekyll with Markdown files. I wanted to port the Markdown files as-is, so I needed to somehow render Markdown contents into HTML.
  • You might have noticed that something strange is going on inside Chrome Dev tool recently. You cannot see the preview or response on network tab. Not every network request is affected, but some of them.