-
Notifications
You must be signed in to change notification settings - Fork 2
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
New README #17
New README #17
Conversation
6e53f62
to
07098e4
Compare
ce24b9f
to
c5d4c1c
Compare
@guicheffer Please, give me a review for what I had written until now! ❤️ |
0eafcb6
to
d4519e5
Compare
otherInt: 10 | ||
} | ||
} | ||
title: 'Star Wars: Episode V - The Empire Strikes Back', |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
README.md
Outdated
} | ||
|
||
// Pay attention here, picker instance is with 'nextMovie' context, | ||
// so, when we call "pick" method it knows exactally what needs to cut |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo exactly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds better whether needs to be cut out or not
|
||
Ok, what happend?! | ||
|
||
First of all, we didn't ask for "previousMovie", so deepicker don't evaluate this function. In this example this don't affect performance, but thinking about an operation like access to a database to get something or call some API this can increase performance significantly. The main gain here is **we process only what client asks for**. |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
README.md
Outdated
description: 'The galaxy is in the midst of a civil war. Spies for the Rebel Alliance have stolen plans...', | ||
releaseYear: 1977, | ||
|
||
// Using a function to computate otherInfo about Episode IV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo compute
Here we'll resolve a function in our object and items of an array. | ||
#### Using nested functions | ||
|
||
But we know, unfortunatelly, real life "usually" is not so simple. Thinking about it, Deepicker is able to handle a lot of data types inside our objects, like arrays, promises, functions... etc. And with this last data type is where Deepicker really shines and show its power! =) |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
{ name: 'Luke Skywalker', actor: 'Mark Hamill' }, | ||
{ name: 'Han Solo', actor: 'Harrison Ford' }, | ||
{ name: 'Princess Leia Organa', actor: 'Carrie Fischer' }, | ||
{ name: 'Darth Vader', actor: 'James Earl Jones' }, |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
README.md
Outdated
- Simple implementation. | ||
- Increases performance processing only what client asks for. | ||
- Non-blocking processing, it handles promisses in parallel very well. | ||
- Simple usage by clients. Just receive an `include` and `exclude` querystring and send then to Deepicker. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo them
or, if you prefer `yarn`: | ||
|
||
```bash | ||
$ yarn add deepicker |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
so far too great @alissonperez Please let me know (even am watchin to this) whether you have things to be reviewed 😍 |
@guicheffer Thank you very much!! Awesome!! I'll fix your points ASAP! |
@guicheffer Done, thanks! I'll work more on this today later! |
9c7b95e
to
bc77618
Compare
ref. #13
Description
New README with a decent documentation.
Motivation, Consideration and Context
It is now a piece of junk!
Checklist:
Additional: