Myvideo

Guest

Login

20230526_Episode 3 Mighty Bites Capture V For Elements In Perfect Order by Alex Vipond Forge

Uploaded By: Myvideo
1 view
0
0 votes
0

Out of the box, Vue template refs aren’t ideal when you’re trying to capture elements rendered by v-for. Vue will store all your elements, but the list of elements will fall out of sync with your app’s data. You can use function refs to solve this problem, and make sure that your DOM element reference always stay perfectly in sync with the rest of your app. Source code: Template Ref: #eNqlVV P2zYM/yqENyDOEDt3OWwPTi649nHA2odhT/VhVSw6Uc WDElOLgj83UdJ/pN01wJFH5KQFPUj SOpXKJ3TZMeW4yyaGOxbipmcZtLgA3TVhQVgrHnCh/ziAtDp cMygpf1/474UJjYYWSGRSqamu5hj1rMlhprNfQMM6F3PdqHnlcQt611ioZFBjxa6b3QiZa7A82A9ZaRVcGp6eiEsULeZWVaAZzj dNAXkZoIdAXBx7MSiDDHBMSqUJLpZtvQAhOb7O6QeY1lNQgOwFz T1 dcL XWfb44E/8aJxpJOsDKTccwC4HIBugFdNya2nNK8kU2g9oqg1 QkuD1k8BAI/pGW3N/0gOCbq6Q KItwUCewBwSlOWpQpVeMVRo5YIU1SmtAmGBmNQIrLTk6tRTaWCqceNTpVNgU4iba 9Yu4HRA6e8S5ezscDX6yBQtbjSaEGhTKI5b1 LN0osQWgxWgRF16 Z1vpiw38qZKzmz0DacfN09alBFHHlfiadQ8DfS1jhhD43YseJlr1UreUIUK53BL6vVau349grnfA1vjPO0EL4ZsPOBE824aE0G6er30KNxakLxH51X5icntKbrei4oVR221aXdz0vY3mW/vqRtlleLTaovg8Tf4OJcQ6IZ3K1zSUNJOP25cy20aCwYtK0jRdSN0hYujsEFKPkeaYvwH08sdZTZ4uDMfxE1lhrQQalVDTN6XmYOrlCSpoT6DY8OIXbcv3Pdj/ Yp6WoqvhuntasieN/x5183PbSfEKg1eoRPj2TORgDNVfmXN4mGMcejS6nR1a1SL6jX59x7 JpCUMxeP7598cPqbGauifKczyC HSxCsCp4C7Njj4AufR8xE6mkmlEc3sF/zMBADo/8R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dGBCFN489bvrEZI13weGe3FEGUtbqvNgkCbf7C TZxuyrb11CgDhgnef3X7c3qXWGJkEUB4rcgoTS4yOCMhXcl9zQD2CtAreJl4k GvS1O4H/nwAATdibIz0ZtaX35KLS1l0AFX3KIW2eJ cM0ql5evyHlY s1b9eD OXmvXG l6L6eWHndMxqmlcUoSNoFNQGYw9RLVS2l5drEr8E0wG4JhsbZupMMcr0bNP9QWP3c= Check out Alex’s book about Vue 3 function refs and composables Visit Vue School Pre-Order the official certification of competence for the Framework Join Vue School’s Hiring Program Do you want to master Nuxt 3? Mastering Nuxt 3 Course Contact us team@

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later