Vue JS

Set API End Point Before Vue App Loaded

Case scenario: We have two API end points to call based on user’s setting, lets say ‘region’ The base URL is set in Vuex store and persisted in local storage or cookie When user reloading the page, the API call should be calling the correct API end point based on the saved region How we […]

Continue Reading...

Opinion

Too Powerful

If it is too powerful to break it from outside, do it from inside. It is even easier to break from inside if the object is built up by different materials.

Continue Reading...

Opinion

Freedom? What is it?

I think the only living creatures we call “animal” have real freedom. Do you think you have freedom? Do you think what you see on internet is your freedom or information that controlling your mind and behavior? Don’t answer, just… Think… Or…. Never stop asking

Continue Reading...

Web Accessibility

Web Accessibility Notes

All input form has label right close to it. Nice form sample from Udacity lesson here. Use 16pt as min font size. This also helps you to eliminate auto-zoom on iOS Safari 😩 Do not set focusable on all contents! Only set focusable (tabindex=”0″) to elements which needs user interaction. Keep the element tab order […]

Continue Reading...

Opinion

WordPress Gutenberg Editor

It’s been quite a while since my last post using WordPress. And now I’m using latest WordPress. When I was trying to create my first post, I was surprised with new editor. I see it is intended for helping user to write faster without any HTML knowledge, but apparently it’s too smart and annoying in […]

Continue Reading...