Would be possible that script locals inside component act as default locals, and the locals passed via attribute override the script locals?
Because right now it's the opposite, the script locals override the locals passed via attribute.
And I can't even do something like this:
<script locals>
module.exports = {
name: typeof name !== "undefined" ? name : "John"
}
</script>
When "name" is the locals passed via attribute locals.