Skip to content

Commit 26c6d33

Browse files
committed
feat: rename package to react-native-range-slider-fast and update README
1 parent 93f9952 commit 26c6d33

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

README.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# React Native Range Slider
1+
# react-native-range-slider-fast
22

3-
A high-performance React Native range slider component built with [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated) and [react-native-gesture-handler](https://docs.swmansion.com/react-native-gesture-handler) for smooth animations and precise touch control.
3+
A high-performance React Native range slider component built with [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated) and [react-native-gesture-handler](https://docs.swmansion.com/react-native-gesture-handler) for smooth animations and precise touch control. **Pure JavaScript implementation - no native code required.**
44

55
## Features
66

@@ -10,24 +10,27 @@ A high-performance React Native range slider component built with [react-native-
1010
- 🔄 Real-time value updates
1111
- 🎨 Fully customizable styling
1212
- ♿️ Accessibility support
13-
- 📱 Pure JavaScript implementation
13+
- 📱 Pure JavaScript implementation - no native code or linking needed
1414
- 🔧 Configurable min/max values and step sizes
15-
- 🎛 Support for minimum distance between markers
15+
- 🎛 Support for minimum distance between thumbs
1616
- 🌐 RTL (Right-to-Left) support
17+
- ⚡️ Works with Expo out of the box
1718

1819
## Performance Benefits
1920

20-
This slider leverages two powerful libraries for optimal performance:
21+
This slider leverages two powerful libraries for optimal performance, while maintaining a pure JavaScript implementation:
2122

2223
- **react-native-reanimated**: Runs animations directly on the UI thread, eliminating JS-bridge overhead and ensuring smooth 60 FPS animations even during complex interactions
2324
- **react-native-gesture-handler**: Provides native-driven gesture handling, resulting in more responsive touch interactions compared to React Native's PanResponder
2425

26+
Both dependencies are widely adopted in the React Native ecosystem and don't require any additional native code configuration.
27+
2528
## Installation
2629

2730
```bash
28-
npm install react-native-range-slider
31+
npm install react-native-range-slider-fast
2932
# or
30-
yarn add react-native-range-slider
33+
yarn add react-native-range-slider-fast
3134
```
3235

3336
### Dependencies
@@ -40,7 +43,7 @@ yarn add react-native-reanimated react-native-gesture-handler
4043
## Usage
4144

4245
```javascript
43-
import RangeSlider from 'react-native-range-slider';
46+
import RangeSlider from 'react-native-range-slider-fast';
4447

4548
const YourComponent = () => {
4649
const handleValuesChange = (values) => {

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-native-range-slider",
2+
"name": "react-native-range-slider-fast",
33
"version": "0.1.0",
44
"description": "A high-performance React Native range slider with smooth animations and precise touch controls using react-native-reanimated",
55
"source": "./src/index.tsx",
@@ -55,14 +55,14 @@
5555
],
5656
"repository": {
5757
"type": "git",
58-
"url": "git+https://github.com/amitpdev/react-native-range-slider.git"
58+
"url": "git+https://github.com/amitpdev/react-native-range-slider-fast.git"
5959
},
6060
"author": "Amit Palomo <apalgm@gmail.com> (https://github.com/amitpdev)",
6161
"license": "MIT",
6262
"bugs": {
63-
"url": "https://github.com/amitpdev/react-native-range-slider/issues"
63+
"url": "https://github.com/amitpdev/react-native-range-slider-fast/issues"
6464
},
65-
"homepage": "https://github.com/amitpdev/react-native-range-slider#readme",
65+
"homepage": "https://github.com/amitpdev/react-native-range-slider-fast#readme",
6666
"publishConfig": {
6767
"registry": "https://registry.npmjs.org/"
6868
},

yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -10138,9 +10138,9 @@ __metadata:
1013810138
languageName: node
1013910139
linkType: hard
1014010140

10141-
"react-native-range-slider@workspace:.":
10141+
"react-native-range-slider-fast@workspace:.":
1014210142
version: 0.0.0-use.local
10143-
resolution: "react-native-range-slider@workspace:."
10143+
resolution: "react-native-range-slider-fast@workspace:."
1014410144
dependencies:
1014510145
"@commitlint/config-conventional": ^19.6.0
1014610146
"@eslint/compat": ^1.2.7

0 commit comments

Comments
 (0)