Core API
Building Block
Core API of any package should be very tiny
A tiny API is easier to reason about it
A tiny API is easier to maintain
A tiny API is easier to learn
Add extensions points to your API to make it extensions and cover all user needs
a tiny API is easier to make new releases
a tiny API needs less tests
What should be the core API of react-native-camera?
take a picture
render picture preview
record a video
What about filters in the photo? another package
What about MLKit like face-detection and text detection? 2 new packages
Shares tags with
- Architecture of Open Source
- A mock GraphQL serviceThe idea is a simple Koa server that receives the schema.graphql in a body applies the mocks to it, and return a given query app.use(getSchemaFromBody()) app.use(graphql()) here…
- Constraint are goodMost people think about constraint in a bad way I think constraint is good for many reasons Constraints gives you a limited set of options to perform or use. GraphQL is better…
- Open SourceOpen Source is when you share you code in the public to be consumed to somebody else My history with open source started when I was working in an android app to track sensors…
- Practical Benefits of an Event Driven Approachfeedback Reviewer 1 we can't easily just reprocess newPayment without reprocessing the whole transactionSync example of this if newPayment had a bug it won't affect…
Sign in with GitHub to reply.
Select any passage to quote it.
Comments