-
Notifications
You must be signed in to change notification settings - Fork 178
[docs] add docs of how to integrate with an existing react app #48
Comments
I am kind of confused how can I use it, I checked the example app and didn't find any packages called |
I have no idea what fbt-cli is, but the packages used in the demo-app are actually using the yarn workspaces. You can look at my example npm-only app for the relevant npm modules: We should be landing and finalizing versions for all of these modules soon... |
@jrwats thank you so much for your effort, I checked the new version again. It's still not user friendly I have been trying to get it to work in my existing project without any success. I will continue to tinker and document the steps in a format an average developer can understand. |
A +1 on this issue -- even after guessing at a bunch of steps (e.g. manually installing babel-node and related dependencies globally) by reading the sample app's package.json, we were unable to get fbt working in our existing application. fbt's promised feature set is super great, but right now there is zero documentation for consumers of the library to get started (versus developers building the library from source). :( |
It took me an hour to add fbt to my react-native project. @aldeka You don't need |
You can find diff for |
can u upload a diff or sample for |
thanks, will try |
Migrate to the latest version retyui/fbt-getting-started@6d55f47 |
@Zbish Did you ever get this working? Wondering if I should attempt to integrate into a React Native app or not. I can't seem to find anyone using it successfully |
@vhesener, @Zbish, @retyui: here's some breaking news we haven't announced yet... We released the Android NPM package and corresponding RN demo-app. Take a look and let @dalmendray know if you hit any issues :) |
I understand there's a demo app that proves this can work, but I think there's a slight disconnect in what we were expecting. I'm willing to help you get there, but I just need to know what steps need to be taken to bring this functionality into an existing React (Native) app. There seems to be some missing magic to get from here to here. For example, where are the install steps and where are the Installation
Getting Started
I understand it's probably not too much effort to clone the demo app and figure out how to massage this to a working state. I'm not being lazy here, but I just want to know this use case is even supported and if you intend to add this type of documentation for future tinkerers. Candidly, if no one is using this package in a traditional way, I am reluctant to be on the fringe. There's strength in numbers with a larger community sharing the same problem sets. Let me know your thoughts and if we can help. I think many of us would be willing to help you polish the usability if you were to share your vision regarding app integrations. |
yes working great in react-native app |
Documentation
We should probably add a section giving a bit more detail under the "Translations". I don't think it necessarily belongs in "Getting Started". React Native@Zbish @vhesener |
Closing this out for now with @sibelius, @vhesener, if you feel the documentation is still lacking, feel free to re-open. If you think it can be improved, we'll gladly look at any PRs you have! |
it would be great to have a step by step tutorial on docs of how to setup fbt in an existing React app project
which packages should we install?
how should we modify our babel config?
should we modify our webpack config?
how to translate new generated hash keys?
The text was updated successfully, but these errors were encountered: