LunatiqueCoder / luna

Luna - a React Native + Next.js template. Built with TypeScript :heart:
https://luna-gamma.vercel.app/
MIT License
264 stars 17 forks source link

Remove React.FC from template #16

Closed LunatiqueCoder closed 2 years ago

LunatiqueCoder commented 2 years ago

Removes any occurrence of React.FC.

Also removes "name" property from components' and pages' package.json. You can use this to use absolute modules in React Native, but they wont work for the web. Having baseUrl: "src" in tsconfig will work for the web, but you will have to add a package.json with a name for each absolute module in src to make it work for React Native aswell.

Fixes #13