React is popular because React applications scale well and are fun to work with. Once your app scales, you might consider optimizing your app. Going from 2500ms wait time to 1500ms can have huge impacts on your UX and conversion rates.
So without further ado, here are some performance tips I use with React.
If you have a stateless component and you know your component won’t be needing re-render, wrap your entire stateless component inside a React.memo function.
Welcome to our part III series where we set up a powerful API. So far, we have achieved basic CRUD functionality.
As our app grows, so does our mutation count. In order to have as clean codebase as we can, we should extract the mutations to dedicated files. This way we can assure our code is modular and separated into maintainable chunks.
Let’s create a folder graphql/mutations and inside the folder create addGadget.js, updateGadget, and removeGadget files..
We simply place the mutation objects into the files and export them.
Who doesn’t love to hear the opinions of peer developers? Frankly put, Some of the most useful resources I’ve picked up is from listening to different opinions and thoughts. I’ve put together a small but comprehensive list of my favorite podcasts. The core topics revolve around coding, well-being philosophy, and how to cope with a different set of challenges.
I find myself listening to podcasts while doing the dishes, while on an airplane, driving, and commuting. Learning from podcasts adds up really quickly — there’s so much to learn yet so little time — why not try to maximize ways to improve?
If yours didn’t make it to the list, please post it in the comments and I’ll make sure to check it out!
Assume that the Person You’re Listening to Might Know Something You Don’t —Jordan Bernt Peterson
Coding is a skill which is acquired through hard work and passion. To become good at something, one must put in the effort. Don’t be that person who quits when things get hard. There’s light at the end of the tunnel and it’s well worth it!
Nothing good comes easy. If it’s hard, it’s worth doing. Most of us are excited to code, but lack the ideas. Summer is over and it’s time to start coding again. Allow me to present some challenging, yet fun ideas to build.
1 — Customizable rich text editor
A rich text editor’s aim is to reduce the effort for users trying to express their formatting as valid HTML markup. A rich text editor enables the users the option to format their text in different ways.