At Echobind, we strive to create a culture that fosters growth, full of people who want to grow. Our aim is to constantly learn new things and share them with one another.
Our This Month We Learned series is a monthly piece about some of the things we’ve learned as a team over the previous month.
The spirit of Fall is in full blow at Echobind. The following are some acorns of wisdom we harvested in the month of September.
It includes a comprehensive list of best practices along with random gotchas. You can find the link Kory is referring to here.
By default, ts-node will check all types in your project on execution. However, when running commands that migrate the database or start a server, this is probably not necessary. By using `TS_NODE_TRANSPILE_ONLY`, ts-node will convert TypeScript to JavaScript, but skip the type-checking. This will be significantly faster.
Here is the link to the package. Stay cool, like Isaiah!
The benefit? It can help you measure loading and execution speeds with a greater degree of accuracy than comparing Date objects.
In GraphQL, when you ask for data, you have to ask for things based on their actual names. Sometimes, you want to change the name when you get that data back, so you can do that with an alias.
In the GraphQL schema, the data he wanted was called timeRecord. He wanted it to be called updateTimeRecord so he used an alias to achieve this.
Thanks for learning with us!Feel free to reach out to us through our contact page with any thoughts or questions. Until next month!