Sweet Rn

screenshot of Sweet Rn
react
react-native
styled-components

Sweet React Native is a template for react native featuring Multi-language, Dark-Light Themes, Typescript, Context, Styled Components, Jest, Detox, Eslint, Husky, Prettier, and more.

Overview

The documentation provides a comprehensive guide for setting up and utilizing a React Native project. It addresses everything from installation to advanced features such as language translation and theming, making it accessible for developers of all levels. With detailed instructions and examples, users can effectively create and customize their applications while maintaining a structured and organized codebase.

Features

  • Easy Installation: The setup process is streamlined with a command-line interface that guides users through creating a new React Native project.

  • Absolute Imports: Simplifies module imports by allowing the use of aliases, enhancing the code's cleanliness and maintainability.

  • Flexible Language Support: Offers an intuitive structure for adding multiple languages, allowing for easy internationalization.

  • Dynamic Translation Function: A straightforward translation function that accepts parameters for customizable text outputs, accommodating varied user needs.

  • Change Language Functionality: Users can effortlessly change the app's language using a dedicated hook, adding versatility for multi-lingual applications.

  • Current Language Retrieval: The ability to get the current language and available languages enhances user experience by ensuring compatibility and accessibility.

  • Customizable Themes: Implements a dark-light theme system through hooks, providing users with an easy way to adjust the app's aesthetic.

  • Roadmap for Future Enhancements: Includes plans to improve functionality, keeping the project evolving and up-to-date with user demands.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

react-native
React Native

React Native is a framework for building mobile applications using React and JavaScript. It enables developers to write once and deploy to multiple platforms, including iOS, Android, and the web, while providing a native app-like experience to users.

styled-components
Styled Components

Styled Components is a popular library for styling React components using CSS syntax. It allows you to write CSS in your JavaScript code, making it easier to create dynamic styles that are specific to each component.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.