Skip to content

docs(blog): building on JavaScript, not around it#895

Merged
vivek7405 merged 3 commits into
mainfrom
blog/building-on-javascript-not-around-it
Jul 10, 2026
Merged

docs(blog): building on JavaScript, not around it#895
vivek7405 merged 3 commits into
mainfrom
blog/building-on-javascript-not-around-it

Conversation

@vivek7405

Copy link
Copy Markdown
Collaborator

New engineering blog post prompted by a re-read of You Don't Know JS.

Maps each language pillar the book covers onto a WebJs design decision:

  • Modules / closures: native ESM as the framework's real graph; module-scope vs instance-scope signals.
  • Objects & classes: reactive properties are prototype accessors via Object.defineProperty; the class-field-clobbers-accessor footgun and the lint that catches it.
  • Types & grammar: the wire serializer round-trips BigInt, Map, Set, Symbol.for, and cycles; local symbols and functions are rejected, with the reason the book gives.
  • Sync & async: async render() and async-generator streaming over the plain iteration protocol.

Serializer claims were exercised against the live runtime before publishing. Voice, front matter, de-dup, and all punctuation/brand rules checked per the blog skill.

@vivek7405 vivek7405 marked this pull request as ready for review July 10, 2026 09:25
@vivek7405 vivek7405 merged commit 810a3fa into main Jul 10, 2026
10 checks passed
@vivek7405 vivek7405 deleted the blog/building-on-javascript-not-around-it branch July 10, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant