Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mojombo
· 6y ago · 0 comments
Yes! Our intention is to support TypeScript as a first-class citizen in Redwood apps (while still supporting JavaScript as well). We're currently working to make sure all of the framework code is written in TypeScript.
Comments
[–]
sibeliuss
6y ago
Gatsby is doing a full rewrite in TS
https://github.com/gatsbyjs/gatsby/issues/21995
-- all roads very sanely lead to TypeScript these days.
[–]
latchkey
6y ago
Cool. Are named routes typesafe? In other words, if I change the name of a route, does it cause some sort compile time error?
[–]
pistoriusp
6y ago
I've created this issue to keep track of this:
https://github.com/redwoodjs/redwood/issues/206
[–]
pistoriusp
6y ago
Nope, they're not, but you're right that they should be!
[–]
lets-surf
6y ago
Very happy to hear TypeScript support is included! I wouldn't like to work on a large app without it.