Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/blog/directives-and-the-platform-boundary.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ Directives should be rare, stable, and standardized—used judiciously rather th

It’s tempting to compare criticism of directives to the early skepticism around React’s JSX or the virtual DOM. The failure modes are different. JSX and the VDOM did not masquerade as language features; they came with explicit imports, provenance, and tooling boundaries. Directives, by contrast, live at the top-level of files and look like the platform, which creates ecosystem expectations and tooling burdens without a shared spec.

There was pushback then that JSX wasn’t “real” syntax or couldn’t be made type‑safe. In practice, it was not only possible but natural to make JSX/React type‑safe and have it behave like valid syntax, while still preserving clear library boundaries via imports.

---

### The bottom line
Expand Down
Loading