What is Barrel File?
Vite does not perform Tree Shake during development, leading to a lot of unused code being bundled, severely affecting the development experience.
Vite does not perform Tree Shake during development, leading to a lot of unused code being bundled, severely affecting the development experience.
In the development field, much of the work involves structuring information, so I find it fitting to call myself a "🌵 Software Gardener."
Recently faced with many issues of maintaining legacy code, documenting the dilemmas and solutions in rewriting legacy systems.
"What is Ajax and Why Not Ajaj?" This question has in my mind for a long time. After some research, I wrote this article about the history of Ajax
Currying transforms functions with multiple parameters into a series of functions that take a single parameter, enhancing reusability and debuggability.
functions that cause changes affecting the rest of the program, leading to unnecessary side effects that make the code unpredictable and hard to understand.
If you need more than 3 levels of nesting, you've messed up and should consider refactoring your code. Learn how to use guard clauses for better readability.
Debounce and throttle are essential patterns in frontend performance, helping to improve user experience and reduce resource wastage for developers.