expo-ts
babel-plugin-module-resolver
Our great sponsors
expo-ts | babel-plugin-module-resolver | |
---|---|---|
1 | 3 | |
6 | 3,397 | |
- | - | |
5.1 | 0.0 | |
about 2 months ago | about 1 year ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
expo-ts
-
Starting React Native Project in 2023
TLDR You can use one command npx create-expo-app -t expo-ts to create new React Native project with all tools already setup for you (see README for details) or follow instructions below. 🤓
babel-plugin-module-resolver
-
Starting React Native Project in 2023
Also, we will need to install the babel-plugin-module-resolver to be able to run our project on web.
-
Testing with Jest and Webpack aliases
FAIL src/shared/components/test/Test.spec.jsx ● Test suite failed to run Cannot find module '@shared/utils/Ordinal.jsx' from 'Test.jsx' I have tried using jest-webpack-alias, babel-plugin-module-resolver and the Jest/Webpack docs
-
Are there library or technique to use absolute path for importing?
Take a look at https://github.com/tleunen/babel-plugin-module-resolver
What are some alternatives?
react-native-testing-library - 🦉 Simple and complete React Native testing utilities that encourage good testing practices.
babel-plugin-macros - 🎣 Allows you to build simple compile-time libraries
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
jest-webpack-alias - Preprocessor for Jest that is able to resolve require() statements using webpack aliases
husky - Git hooks made easy 🐶 woof!
htm - Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
expo - An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.
parcel-resolver-ts-base-url - Resolve tsconfig baseUrl and paths imports with Parcel
jest - Delightful JavaScript Testing.
prettier - Prettier is an opinionated code formatter.