Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does it differ from create-react-native-app #62

Closed
wilomgfx opened this issue Mar 31, 2017 · 9 comments
Closed

How does it differ from create-react-native-app #62

wilomgfx opened this issue Mar 31, 2017 · 9 comments
Labels

Comments

@wilomgfx
Copy link

How does this project differs from : https://github.com/react-community/create-react-native-app

Other than using webpack ? (which is cool btw, not saying haul is useless!)
Using webpack and its ecosystem, opens up a whole world of possibilities.

Thanks :)!

@henrikra
Copy link

I would also like to know benefits of using this. Since the read me did not tell the benefits and I don't want to break my current project :)

@grabbou grabbou changed the title Question : How does it differ from create-react-native-app How does it differ from create-react-native-app Mar 31, 2017
@f0rr0
Copy link

f0rr0 commented Mar 31, 2017

@henrikra From the readme it looks like haul supports symlinking modules which the normal packager can't

@henrikra
Copy link

What is the benefit or use case for that?

@f0rr0
Copy link

f0rr0 commented Mar 31, 2017

@henrikra you often want to develop a module independently along side your app and use it as a dependency from within your app. The usual way is to npm link so that npm picks up your local dev version. you can't do that in RN since the packager does't support it.

@satya164
Copy link
Member

Haul is an alternative to the React Native CLI tools which you use to perform actions like bundling JavaScript files for packaging or running a development server.

Haul is based on Webpack, so you have access to the entire Webpack ecosystem and can use any webpack loaders or plugins you need. It also doesn't depend on watchman which is a pain to setup on Windows and have to compile from source on Linux, so hopefully it'll have better cross-platform story. Not using watchman means you can use symlinks, import files outside of your project root etc.

Create React Native App is a framework based on Expo to make development easier. It uses React Native packager internally but that's an implementation detail, and maybe someday we can make it use Haul. But that won't affect your workflow. It solves a completely different purpose.

@wilomgfx
Copy link
Author

Amazing, Thanks ! Looking forward to use it.

@lyahdav
Copy link

lyahdav commented Apr 3, 2017

It would be good to add some from @satya164 comment to the readme. From reading the current readme it wasn't clear to me why I'd want to use Haul.

@wilomgfx
Copy link
Author

wilomgfx commented Apr 3, 2017

I agree.

@grabbou
Copy link
Member

grabbou commented Apr 3, 2017

Anyone up for sending pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants