Okie dokie, sooooooooo~
We get a lot of campers who end up writing const location in their JavaScript code and Babel loves to turn that into var location and that overwrites the global location and everything goes all oopsie whoopsie~
So Naomi has a plan! We're gonna do some clean-up in the curriculum and resolve some of this confusion!
Here's what we gotta do:
🔴 These workshop(s) actively use const location in the JavaScript seed or instructions. As such, they have a CURRENT AND IMMEDIATE risk of global variable conflict~
workshop-heritage-library-catalog
🟡 These workshop(s) have an HTML element that has id="location" in the seed or instructions, AND include steps that use JavaScript. As such, they have a significant risk of global variable conflict~
lab-weather-app
workshop-hotel-feedback-form
And a pretty task list:
Here's the dealio~ Naomi gotta touch base with a couple of colleagues first, but I will be opening this up as part of
Naomi's Sprints
This label is for issues that Naomi is managing through her sprint initiatives on Discord.
so if you would like to take on one of these make sure you are in our Discord community and have self-selected the Naomi's Sprints role~
Okie dokie, sooooooooo~
We get a lot of campers who end up writing
const locationin their JavaScript code and Babel loves to turn that intovar locationand that overwrites the globallocationand everything goes all oopsie whoopsie~So Naomi has a plan! We're gonna do some clean-up in the curriculum and resolve some of this confusion!
Here's what we gotta do:
🔴 These workshop(s) actively use
const locationin the JavaScript seed or instructions. As such, they have a CURRENT AND IMMEDIATE risk of global variable conflict~workshop-heritage-library-catalog🟡 These workshop(s) have an HTML element that has
id="location"in the seed or instructions, AND include steps that use JavaScript. As such, they have a significant risk of global variable conflict~lab-weather-appworkshop-hotel-feedback-formAnd a pretty task list:
Here's the dealio~ Naomi gotta touch base with a couple of colleagues first, but I will be opening this up as part of Naomi's SprintsThis label is for issues that Naomi is managing through her sprint initiatives on Discord.
so if you would like to take on one of these make sure you are in our Discord community and have self-selected the
Naomi's Sprintsrole~