Skip to content

Commit e9c4c85

Browse files
update: add announcement for v1.2.0 featuring custom hooks, console remover, and improved env management
1 parent ceec7e4 commit e9c4c85

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# 🚀 **What's New in v1.2.0 of React Native Lab?** 🎉
2+
3+
Hello React Native devs! 👋
4+
5+
We’re back with some awesome updates in **v1.2.0** to make your development process even more seamless. Let’s dive into the latest features:
6+
7+
---
8+
9+
## 🎣 **Custom Hooks Integration**
10+
11+
Supercharge your projects with a collection of **pre-built hooks**:
12+
13+
- **`useDebounce`**: Wait before executing a function.
14+
- **`useThrottle`**: Limit how often a function can run.
15+
- **`usePrevious`**: Access the previous value of any state or prop.
16+
- **`useOrientation`**: React to device orientation changes.
17+
- **`useResponsiveLayout`**: Get responsive layout info based on screen size.
18+
19+
No more reinventing the wheel—just plug and play!
20+
21+
---
22+
23+
## 🔇 **ConsoleRemover for Production**
24+
25+
Say goodbye to unwanted console logs in your production builds!
26+
27+
- Removes **all console statements**: `log`, `warn`, `error`, `info`, etc.
28+
- **Boosts security** by ensuring no sensitive logs are exposed.
29+
- **Reduces app size** for faster performance.
30+
31+
Your production builds will now be cleaner, safer, and more efficient.
32+
33+
---
34+
35+
## 🔐 **Flexible Environment Variable Management**
36+
37+
Manage configurations effortlessly with improved `.env` support:
38+
39+
- Automatically sets up a **`.env` file** for storing sensitive data.
40+
- Choose your preferred library:
41+
- **`react-native-config`**
42+
- **`react-native-dotenv`**
43+
- Ensures secure and organized handling of environment variables.
44+
45+
More flexibility, less hassle!
46+
47+
---
48+
49+
These updates build on an already robust toolset, including:
50+
51+
- Pre-built templates (Blank, Bottom Navigation, Drawer Navigation, and more)
52+
- NativeWind integration
53+
- Cross-platform support for Windows, macOS, and Linux
54+
55+
---
56+
57+
### 📥 Install Now
58+
59+
To create a new React Native CLI project:
60+
61+
```bash
62+
npx react-native-lab@latest
63+
```
64+
65+
### 🌟 **Ready to Upgrade?**
66+
67+
- 📦 [**React Native Lab on NPM**](https://npmjs.com/package/react-native-lab)
68+
-[**Star the GitHub Repo**](https://github.com/developer-sumit/react-native-lab)
69+
70+
Your feedback and support help us grow! Share your thoughts and suggestions below. Let's build amazing apps together! 🚀
71+
72+
Happy coding! 💻✨

0 commit comments

Comments
 (0)