npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-template-clean-architecture

v0.5.0

Published

This is a template for creating React Native projects based on Clean Architecture

Downloads

45

Readme

:honeybee: React Native Template Clean Architecture

This is a template for creating React Native projects based on Clean Architecture with preconfigured libraries for design, functionality, and navigation.

:star: Features:

  • Pre-configured ProximaNova font
  • Pre-configured libraries 'React Native Vector Icons' and 'Eva Icons' for icons
  • Pre-configured folder structure for the Clean Architecture
  • Preconfigured 'React Native Asset' library to automatically link fonts
  • Navigation using react-navigation (v6)
  • State management using redux
  • Redux middleware redux-saga
  • Use of the Ui-Kitten design system to build stunning and consistent interfaces using atomic components by following the Eva Design System specifications.
  • Use of Babel Plugin Module Resolver for static paths of project folders, configured in babel.config.js

:warning: Prerequisites

  1. Make sure that you have followed the environment setup instructions properly from the official React Native docs.

  2. The installation command will fail if you have the global legacy react-native-cli and react-native installed in your machine. Make sure you uninstall it first:

yarn global remove react-native react-native-cli

or if using npm

npm uninstall -g react-native react-native-cli

:arrow_forward: Usage

Generate a React Native (0.70.6) app using the ahc2806/react-native-template-clean-architecture template:

  npx react-native init ProjectName --template react-native-template-clean-architecture
  cd ProjectName

You might also be prompted to confirm the installation for the package react-native. Simply hit enter to proceed.

The template will automatically install the npm dependencies and the pods (if you are on the MacOS).

Usage with older versions of React Native

e.g. [email protected]

npx react-native init ProjectName --template [email protected]

See the below table to find out which version of the template to use.

React Native <=> Template Version

| React Native | Template | | ------------ | -------- | | 0.70 | 0.0.* | | 0.71 | 0.4.* |

:bookmark: License

This project is MIT licensed.