Deep Freeze an object.
👉 https://t.co/Bp68tjlV2V https://t.co/xwA7UBxdwl
Create a deep clone of an object.
It does exactly what you would expect - creating a copy of an object, without any pointers to the original object.
👉 https://t.co/rMUiyKrKbi https://t.co/f2G9pG8hLH
Get the last item of either an Array, Set, Map or object.
Great for quickly accessing the last item dynamically without having to make any transformation.
👉 https://t.co/oOU2wi2uAD https://t.co/UxTpsrzxLo
Generate a number range.
👉 https://t.co/qKAhCwzj4m https://t.co/q9h53ZVrbE
Generate a random number in a range.
If you need to generate a random number between a minimum and maximum value.
👉 https://t.co/qNvV6KLvey https://t.co/js98B0kST6
Create a unique string.
Great for quickly creating unique IDs.
If you're using @TightenCo ziggy routes with @vuejs
3 composition API, you can write a little plugin to make the `route()` method available in your app by doing this. https://t.co/4d4vU44Dz5
Convert a string to a number: https://t.co/nLhW9RdxFs
If you want to open all links in the document in a new tab, you can use `<base>` element: https://t.co/wyhIxtk1nO
⚡️ When naming your components, always form a sentence like "A Link with an Image" = LinkImage. "A List with Checkmarks" = ListCheckmark. The resulting names may seem less natural, but it greatly helps with organizing your components. https://t.co/JfSB3KazEt