Frankie·Jan 10, 2022Use normalize() to duel with non-English string in javascriptFor a international website, we may need to handle different languages, in some cases, the user may need to input in their language, we…
Frankie·Dec 2, 2020Set alias command in powershell to make your life easierWhen we are using VS Code for development, it also comes with powershell as the default terminal.
Frankie·Oct 13, 2020encodeURI & encodeURIComponent You should know the differencesAt the past, you may have heard about escape() function encodes a string to make a string portable, so it can be transmitted across any…
InThe StartupbyFrankie·Jul 28, 2020A Small SVG Pitfall in ReactWhen we want to use SVG image in React, we may import it like this:
Frankie·Jul 19, 2020Make a lucky wheel to solve your lunch dilemma by using react and react-springI’m a Libra. It is hard for me to make a decision especially at lunch time. Does it resonates to you? So I decided to make a lucky wheel…
InThe StartupbyFrankie·Jun 7, 2020Demo CSRF attack and Double-Submit Cookie defense with Express.jsCross-site request forgery (also known as CSRF) is a web security vulnerability that allows an attacker to induce users to perform …
Frankie·Jun 1, 2020Build a Multilingual Website in React using react-intl v4 in 2020 (1)I found that most of the resources about react-intl are outdated and the docs of react-intl is quite ambiguous. Therefore, I will demo…
Frankie·May 15, 2020(2)basic usage of useFormik hook with React FormThis is part 2 of the tutorial. Please read basic usage of useFormik hook with React Form(1) first.