Common shared app components for desktop and mobile
Find a file
2018-06-01 11:17:25 -04:00
dist Merge pull request #37 from lbryio/notification-props 2018-06-01 11:09:37 -04:00
src Revert "do not reset search query on HISTORY_NAVIGATE" 2018-06-01 11:17:25 -04:00
.babelrc chore: final cleanup 2018-04-05 14:00:21 -04:00
.eslintrc.json chore: final cleanup 2018-04-05 14:00:21 -04:00
.flowconfig chore: final cleanup 2018-04-05 14:00:21 -04:00
.gitignore chore: clean gitignore file 2018-04-05 11:29:14 -04:00
.lintstagedrc.json chore: final cleanup 2018-04-05 14:00:21 -04:00
.prettierrc.json Common components refactor (#1) 2018-04-05 03:57:29 +01:00
LICENSE create initial LICENSE file 2018-02-05 12:49:16 -08:00
package.json changed proxy-polyfill to 0.1.6 as newer versions break on React Native. Added 'umd' libraryTarget for react native. 2018-04-21 21:24:40 +01:00
README.md Update documentation to explain how to use this repository clearly for a new dev. 2018-05-05 16:11:42 -03:00
webpack.config.js changed proxy-polyfill to 0.1.6 as newer versions break on React Native. Added 'umd' libraryTarget for react native. 2018-04-21 21:24:40 +01:00
yarn.lock upgrade dependencies 2018-05-09 18:34:35 -04:00

lbry-redux

lbry-redux is a module which contains common React and redux code shared between lbry-app and lbry-android.

Installation

Add lbry-redux as a dependency to your package.json file. "lbry-redux": "lbryio/lbry-redux"

Local development

If you intend to make changes to the module and test immediately, you can use npm link to add the package to your node_modules folder. This will create a symlink to the folder where lbry-redux was cloned to.

cd lbry-redux
sudo npm link
cd /<path>/<to>/<project>/node_modules
npm link lbry-redux

Build

Run $ yarn build. If the symlink does not work, just build the file and move the bundle.js file in to the node_modules/ folder.

License

MIT © LBRY