This repository has been archived by the owner on Sep 13, 2020. It is now read-only.
Hi there! I didn't spend enough attention to this project for a quite a while, but I can't ignore enormous amount of issues anymore. To make them approachable, I decided to start cleaning up the codebase we have nowadays. In my mind it is hard to make a good contribution if project doesn't even keep the same code style. Also, its pretty said to see things like module.exports
in React Native modules in 2017.
Therefore, I started cleaning this project up by introducing a code style standard. Here is a list of current changes:
- Assembled https://github.com/airbnb/javascript to maintain one of the most common javascript code styles
- Assembled Flow to replace comments by types and improve developer experience overall
- Updated Basic example to use latest version of React/React Native
Breaking changes:
- Using ES module notation instead of commonJS one, e.g. from now on it should be
instead of
import SideMenu from 'react-native-side-menu';
(yay! 🎉 )const SideMenu = require('react-native-side-menu');