Gathering detailed insights and metrics for simple-react-navigation
Gathering detailed insights and metrics for simple-react-navigation
Gathering detailed insights and metrics for simple-react-navigation
Gathering detailed insights and metrics for simple-react-navigation
react-native-simple-navigation
React Native lightweight library for navigation with swiping
react-tabs-scrollable
a simple react scrollable tabs with a lot of additional features and with fully supporting of RTL mode
react-ios-navigation
This is a simple navigation component for React Native iOS. The idea behind this is to have a navigation component that is similar to the one used in iOS. I'll be adding more features as I go along.
react-simple-navigation
A simple navigation router for React-Native
npm install simple-react-navigation
Typescript
Module System
Node Version
NPM Version
50.5
Supply Chain
93.9
Quality
74
Maintenance
50
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
1,077
Last Day
3
Last Week
3
Last Month
13
Last Year
98
17 Commits
1 Branches
1 Contributors
Updated on Mar 27, 2017
Minified
Minified + Gzipped
Latest Version
1.0.1
Package Id
simple-react-navigation@1.0.1
Size
17.51 kB
NPM Version
4.1.2
Node Version
7.7.3
Cumulative downloads
Total Downloads
Last Day
0%
3
Compared to previous day
Last Week
200%
3
Compared to previous week
Last Month
-13.3%
13
Compared to previous month
Last Year
40%
98
Compared to previous year
1
2
Easy to setup stack navigation for react and react-native apps using Redux.
npm install simple-react-navigation
App.js
import React from 'react';
import { Provider } from 'react-redux';
import store from './store';
import Main from './components';
export default function App() {
return (
<Provider store={ store }>
<Main />
</Provider>
);
}
Main.js
import React from 'react';
import { connect } from 'react-redux';
import Navigator from 'simple-react-navigation';
import { routes } from '../routes';
function Main(props) {
return <Navigator routeStack={ props.routeStack } routes={ routes } />
}
function mapStateToProps(state) {
return {
routeStack: state.routeStack
};
}
export default connect(mapStateToProps)(Main);
routeStack.reducer.js
import { createReducer } from 'simple-react-navigation';
const options = {
defaultRoute: 'Home'
}
export default createReducer(options);
routes.js
import Home from './components/Home';
import Foo from './components/Foo';
export const routes = {
Home: { screen: Home },
Foo: { screen: Foo }
};
routeStack.actions.js
const NAVIGATE = 'NAVIGATE';
const NAVIGATE_BACK = 'NAVIGATE_BACK';
export function navigate(route) {
return {
type: NAVIGATE,
route
};
}
export function navigateBack() {
return {
type: NAVIGATE_BACK
}
}
Home.component.js
import React from 'react';
import { connect } from 'react-redux';
import { navigate } from '../../actions/routeStack.actions';
export function Home(props) {
const { navigate } = props;
return (
<div>
<Button onClick={ navigate.bind(this, 'Foo')>
Navigate to 'Foo'
</Button>
</div>
);
}
const actions = { navigate };
export default connect(null, actions)(Home);
Foo.component.js
import React from 'react';
import { connect } from 'react-redux';
import { navigateBack } from '../actions/routeStack.actions';
function Foo(props) {
const { navigateBack } = props;
return (
<div>
<Button onClick={ navigateBack }>
Navigate back to last active route
</Button>
</div>
);
}
const actions = { navigateBack };
export default connect(null, actions)(Foo);
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
48 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More