question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redirect react-native-template-typescript to react-native

See original GitHub issue

Describe the Feature

From RN 0.71 RN will be the default template language, which removes the need for the react-native-template-typescript template. To ease the migration, as this way of starting a TS project is referenced all over the docs/tutorials/guides/etc, we could detect users using this template and treat it as react-native. Outputting extra warning about what’s happening under the hood, so that users are aware.

Schedule for 11.0 release

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
radko93commented, Nov 4, 2022

Agreed, looks good but needs to match the exact name not just template-typescript. Likely there are more templates with that phrase.

2reactions
thymikeecommented, Nov 4, 2022

Yeah along these lines. I’d be very explicit about matching this and only this template. We can figure out the best wording as well 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to redirect in React with Typescript ? - GeeksforGeeks
Redirecting is used when let say a user is a login to a website and he or she logged ... npx create-react-app my-app...
Read more >
Using TypeScript - React Native
If you're starting a new project, there are a few different ways to get started. You can use the TypeScript template: npx react-native...
Read more >
How to redirect to a new page in react and typescript after an ...
Here we need useHistory hook from react-router-dom to be able to redirect our app to particular page right from the function body.
Read more >
Adding TypeScript to a React Native for macOS Project
Integrate TypeScript to a React Native for Windows and macOS project scaffolded from a standard React Native template. Scaffold a React ...
Read more >
React Native Navigation: Tutorial with examples
In this React Native Navigation tutorial, we'll show you some examples of navigation patterns you can implement with React Navigation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found