What are reflow and repaint, what changes cause them, and what should be avoided?
Frontend
What are the main lifecycle hooks in Vue 3 when using Composition API and <script setup>?
How does a browser render a page from the moment it receives HTML, without using frameworks?
Can you tell a little about your experience?
What do you like and dislike about your current company?
What is the difference between ref and reactive in Vue 3 and when are they used?
What is SSR, what problems have you faced with SSR, and how did you solve them?
Are you familiar with TanStack Query?
```javascript console.log('1') setTimeout(() => { console.log('2') Promise.resolve().then(() => console.log('3')) }, 0) Promise.resolve().then(() => { console.log('4') setTimeout(() => console.log('5'), 0) }) console.log('6') ```
export function useUserData(userId) { const { $api } = useNuxtApp() const user = ref(null) const isLoading = ref(true) const displayName = computed(() => { return `${user.value.firstName} ${user.value.lastName}` }) async function load() { const data = await $api.get(`/users/${userId}`) user.value = data isLoading.value = false } load() return { user, isLoading, displayName } }
Why is semantic markup needed, what is it, and can you name some semantic tags?
What is CI/CD and have you worked with it?
const userStore = useUserStore() onMounted(() => { window.addEventListener('resize', handleResize) const interval = setInterval(() => { userStore.syncData() }, 5000) document.addEventListener('keydown', handleKeydown) function handleResize() { /* ... */ } function handleKeydown() { /* ... */ } })
How do you generally feel about working in your current company?
What are your overall impressions of the company and the interview?
Do you have experience working with Vuex?
What is BEM and why is it used?
Do you work remotely or in a hybrid format?