32 karma · joined Dec 4, 2020 (5y ago) · 8 submissions
1.
Cloudflare Workers Introduces WebSockets(blog.cloudflare.com ↗)
10 points · by arderary · 5y ago · discuss
comment 5y ago · link · parent
comment 5y ago · link · parent
// Parent.svelte
<script>
import Child from "./Child.svelte"
</script>
<style>
.container :global(.child) {
color: red // your styles here
}
</style>
<div class="container">
<Child className="child" />
</div>
// Child.svelte
<script>
export let className
</script>
<h1 class={className}>I am styled by my parent</h1>comment 5y ago · link · parent
A company that exploits its users won't generally do well, but that doesn't mean that it doesn't exploit its workers, which is generally what politicians mean here (see Amazon, for instance. Or, since Facebook was brought up in the article, their content moderation team)