随笔分类 - Mise
摘要:Documentation on creating public user tables has been moved here. Supabase has also removed triggers from this doc but you can still use them. In this
阅读全文
摘要:
阅读全文
摘要:Now that we know what we are looking for, let's go over some tips on how to actually write your code review. When your coworker finishes up some code
阅读全文
摘要:Is the code clean and modular? Can I understand the code easily? Does it use meaningful names and whitespace? Is there duplicated code? Can you provid
阅读全文
摘要:In this lesson, we build a little app that fetches dog photos from the dog.ceo API, based on a "breed" search field. We want the API call to happen ag
阅读全文
摘要:In this lesson, we learn how the x-init directive in Alpine JS lets us run a JavaScript expression once the component has initiated. We see the nuance
阅读全文
摘要:In this lesson, we learn how to retrieve a DOM element via the x-ref directive in Alpine JS, which gives us a reference to the element it is applied o
阅读全文
摘要:In this lesson, we see how the x-model directive makes achieving "two-way data binding" effortless in Alpine JS. We see what it would take to recreate
阅读全文
摘要:In this lesson, we smoothen the transitions between tabs by applying a transition modifier to our x-show directive. We see how we can ignore the leavi
阅读全文
摘要:In this lesson, we move the component definition to a function, defined in a script tag in the HTML document. We then iterate through an Array of Obje
阅读全文
摘要:In this lesson, we create a set of tabs with Alpine JS, where only the content of the currently active tab is visible. To do this, we define an active
阅读全文