Comments (7)
e.g. let's discuss the points
point 1) RN versioning is super hard. Facebook is breaking shit all the time. Every RN update is a puzzle. The versions here are tested together. Femto may make some things easier. But from my experience with RN it will only scratch the surface of what's needed. The biggest problem are the RN native packages themselves.
point 2) this patterm is copied from React proper. maybe it's no longer en vogue. I'm fine with updating it. I don't mind breaking changes.
point 3) shouldn't this be adressed directly in ts2fable?
point 4) those functions will be used in all mobile apps that use photos. RN discontinued support for ImageStore and explicitly encourages people to use this API. So yes they are small and could be copied into every app directly. but that doesn't make any sense.
point 5) yep docs would be useful
again I don't mind if we are splitting things.
from fable-react-native.
from fable-react-native.
So I'll continue to dump stuff here
I understand the positive gesture here but I would suggest to refrain from "dumping stuff" that only adds more low-quality code to the current code base such that only needs to be cleaned up anyways later on when someone wants to actually pick this up.
If you need specific one-off bindings for a function or two, just add it to your application
from fable-react-native.
you may call it low quality code. for me it's code thats used in multiple production apps.
I don't agree with all your points above but I'm willing to collaborate on if people are actually intending to use it. But so it's way more important for me to get something that is actually working in production hat cleaning stuff up for hypthetical users.
from fable-react-native.
I guess if someone takes the time to restructure the repo and publish the separate packages, it would be easier for @forki to follow that structure when adding new stuff :)
You can take the fable-browser repo as reference, where the build script checks the release notes of all the packages automatically and republishes the ones with modifications.
from fable-react-native.
from fable-react-native.
you may call it low quality code. for me it's code thats used in multiple production apps.
Using low-quality code in production doesn't automatically qualify it as good code, it just means that you are willing to use low-quality code in your production applications.
I call it low-quality because of the points I mentioned above: invisible (and probably incompatible) versions of different packages that seem "ready to use" once you install this single library but can easily break for beginners who don't know which package goes with which version and to actually get started with any of the packages, it requires going through the actual source code, looking for import
statements and installing the relevant packages after checking compatibility (which is what Femto automates) along with other inconveniences with the exposed APIs themselves
I don't agree with all your points above
Issues are made for discussion, I filed this because there is room for improvement so if you have time, please point out what is wrong with the points I mentioned above and in what way you suggest to move forward with the library
If people are committing to actually using it and need it to get started
This is more of chicken-and-egg problem, if it is not easy to use then people will not use it
from fable-react-native.
Related Issues (20)
- How to get user's current position? HOT 2
- Missing currentHeight static property for StatusBar HOT 2
- Question about ResizeArrays HOT 2
- Working with gestures HOT 2
- Fable 2.0 support HOT 4
- Error: Cannot infer key and value ... HOT 2
- TextInputAndroidProperties HOT 1
- Not possible to have multi styled text HOT 1
- Fable.Core 3 support HOT 6
- Convert Fable.Import.ReactNativePopupMenu to Fable.Core 3 HOT 1
- Is the new Hermes AOT JS Compiler from Facebook useful or applicable for fable-react-native on android? HOT 1
- Please add details about how to use the bindings HOT 11
- yarn add --dev fable-splitter fable-compiler + Incorrect peer dependency HOT 2
- Why are breaking changes increment the PATCH number of the package? HOT 8
- Hooks and function components? HOT 2
- In new app, getting error: "React.createElement: type is invalid..." HOT 1
- Xcode chokes on .fable directory HOT 8
- ImageStore, ImageEditor not in React Native anymore HOT 3
- Fable 4 incompatibility HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fable-react-native.