mikeysee
mikeysee

Reputation: 1763

Are there any good modern typescript examples for resolvejs?

I noticed that most of the docs are quite old, refereing a very old version of react.

I would like to tinker with Resolve and Typescript and potentially write a blog post about it but im wary of following an old way of using the lib.

Does anyone have any good modern Typescript examples?

Upvotes: 1

Views: 95

Answers (1)

Roman Eremin
Roman Eremin

Reputation: 1451

At the moment all examples are in JS, but TS is supported, here is the starting point:

npx create-resolve-app you-app-name -e hello-world-typescript

We do have some internal apps being developed with TS, so feel free to ask more specific questions.

We plan to add a dedicated TypeScript section to the documentation.

Regarding old React - yes, some examples are old. We have added React Hooks support last year, so those examples are most fresh.

Upvotes: 2

Related Questions