<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/medium_js/best-of/2021/05" -->

---
title: Best Medium posts — May 2021 | daily.dev
description: The most upvoted Medium posts from May 2021, curated by the daily.dev community.
canonical: https://daily.dev/sources/medium_js/best-of/2021/05
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/medium_js/best-of/2021/05
og:type: website
og:site_name: daily.dev
og:title: Best Medium posts — May 2021 | daily.dev
og:description: The most upvoted Medium posts from May 2021, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Medium — May 2021

1. 1  
[](https://daily.dev/posts/flutter-vs-react-native-which-is-the-best-choice-for-2021--jr5tekpyo "Flutter vs React Native: Which is the Best Choice for 2021?")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Flutter vs React Native: Which is the Best Choice for 2021?  
Cross-platform applications are faster to develop as it uses the same codebase for creating applications that can seamlessly run on multiple platforms. Different cross-platform app development frameworks offer a different set of features and benefits. Both of these frameworks are made and backed by the biggest tech giants of the industry Google and Facebook respectively.  
64  
5
2. 2  
[](https://daily.dev/posts/style-guide-for-new-javascript-developers-h3s8u05tf "Style Guide for new JavaScript Developers")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Style Guide for new JavaScript Developers  
If you are a junior developer, your code may not be very efficient and clean. In this post, I will explain the 10 best practices you can do to make your code cleaner. If you use IF as a condition, make sure there is enough spacing between them. Write lots of comments in your code.  
36  
3
3. 3  
[](https://daily.dev/posts/sharpen-your-javascript-skills-with-these-topics-y6hhcjijb "Sharpen your javascript skills with these topics")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Sharpen your javascript skills with these topics  
Learn more about Error Handling using try-catch block that may help you to become a great programmer. Sharpen your javascript skills with these topics Shahriar Emon May 6·4 min read If you are a novice, you will hate errors. If you are an expert, you'll enjoy the errors because error leads you to make your program nearly flawless.  
34  
1
4. 4  
[](https://daily.dev/posts/front-end-web-apps-and-automatic-architecture-decisions-yjpazs-c6 "Front-end web apps and automatic architecture decisions")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Front-end web apps and automatic architecture decisions  
A lot of good work has been done through building front-end apps with frameworks like Angular, Vue, React. Deliberately choosing to build a front- end app means weighing the benefits you expect to see against its cost. Every line of code you write, every component you add to your architecture, every tool or dependency you introduce into your project is a liability.  
34  
2
5. 5  
[](https://daily.dev/posts/vue-ecosystem-vxfnqvb8t "Vue Ecosystem")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Vue Ecosystem  
Vue is a progressive framework for building user interfaces. It consists of a core library that focuses on the view layer and an ecosystem of supporting libraries. Vue is in 2nd place with 16.4% amongst the top 5 most wanted web frameworks. It is used by big companies such as Gitlab, Alibaba, Xiaomi, Adobe, Euronews, Nintendo, Grammarly, Codeship, Behance, and many more.  
28  
2
6. 6  
[](https://daily.dev/posts/you-have-to-know-closures-to-be-a-good-react-developer-eykch6r7g "You have to know closures to be a (good) React developer")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
You have to know closures to be a (good) React developer  
Why you need to know closures to become a better-than-average React developer. You Have to Know Closures to be a (Good) React Developer. Nitsan Cohen explains how understanding closures improve your React skills. He also explains how closures work in React.  
23
7. 7  
[](https://daily.dev/posts/is-there-a-faster-solution-than-document-getelementbyid--wpdt2hsga "Is there a faster solution than document.getElementById()?")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Is there a faster solution than document.getElementById()?  
In 2011, during my final post-secondary exam, I had to write JavaScript functions out by hand. Is there a faster solution than document.getElementById()? Kenton de Jong says there isn't, but it's still fun to play with. He says he's never been able to do it again.  
20
8. 8  
[](https://daily.dev/posts/image-gallery-with-react-and-tailwind-css-upp5n2bd8 "Image Gallery with React and Tailwind CSS")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Image Gallery with React and Tailwind CSS  
In this post we will build a Image Gallery with ReactJS app with Tailwind CSS. We are also going to use Pixabay API to get the images. So, open your terminal and create a new ReactJS application by using the command below. Now, as per the instructions, change to the newly created folder.  
19  
1
9. 9  
[](https://daily.dev/posts/leetcode-remove-duplicates-from-sorted-array-uopgk8hxj "LeetCode — Remove Duplicates from Sorted Array")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
LeetCode — Remove Duplicates from Sorted Array  
Given a sorted array nums, remove the duplicates in-place such that each element appears only once and returns the new length. Do not allocate extra space for another array, you must do this by modifying the input array with O(1) extra memory. Problem statement taken from: https://leetcode.com/problems/remove-duplicates-from-sorted-array.  
15
10. 10  
[](https://daily.dev/posts/how-i-organize-my-local-development-environment-9mwzbrnqx "How I Organize My Local Development Environment")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
How I Organize My Local Development Environment  
Lane Wagner explains how to organize your local development environment. He starts new projects on a remote server, then clone them down to their proper location. He also explains some of his favorite tools, including Postman, Postgres, VS Code, and Kibana. The post How I Organize My Local Development Environment first appeared on Qvault.  
15
11. 11  
[](https://daily.dev/posts/basic-crud-in-golang-learned-from-unicorn-s-engineer-pqko88b5r "Basic CRUD in Golang, Learned from Unicorn’s Engineer")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Basic CRUD in Golang, Learned from Unicorn’s Engineer  
Taufan Fadhilah Iskandar is an engineer in one of unicorn in Indonesia. He decided to buy a Golang course to help him going deeper in the language. In this article he will write a tutorial to make a CRUD API using Golang.  
14
12. 12  
[](https://daily.dev/posts/must-know-array-methods-in-javascript-zdawfvkae "Must Know Array Methods in JavaScript")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Must Know Array Methods in JavaScript  
There are some very useful array methods that have been included ever since the introduction of ECMAScript 6(ES6) in 2015\. When I first learned JS in I pretty much only used the forEach loop for most of these examples, so today I will show you guys how to use these amazing built in array methods.  
12
13. 13  
[](https://daily.dev/posts/hooked-on-react-hooks-mkxtdpvpr "Hooked on React Hooks")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 5y  
Hooked on React Hooks  
React hooks were introduced in React v16.8.0\. Hooks are able to provide state to functional component rather than class component. The useState hook is used to replace the tradition way of setting state in class components since it provides you with a state and a setter function for that state as well. Effect Hook is is favorite since it replaces all of the traditional life cycle methods such as componentDidMount, componentDidUpdate and componentWillUnmount.  
10

[See all Medium archives](/sources/medium%5Fjs/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/medium_js/best-of/2021/05#page","url":"https://daily.dev/sources/medium_js/best-of/2021/05","name":"Best Medium Posts — May 2021","description":"The most upvoted Medium posts from May 2021, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/medium_js/best-of/2021/05#items","numberOfItems":13,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/flutter-vs-react-native-which-is-the-best-choice-for-2021--jr5tekpyo","name":"Flutter vs React Native: Which is the Best Choice for 2021?"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/style-guide-for-new-javascript-developers-h3s8u05tf","name":"Style Guide for new JavaScript Developers"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/sharpen-your-javascript-skills-with-these-topics-y6hhcjijb","name":"Sharpen your javascript skills with these topics"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/front-end-web-apps-and-automatic-architecture-decisions-yjpazs-c6","name":"Front-end web apps and automatic architecture decisions"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/vue-ecosystem-vxfnqvb8t","name":"Vue Ecosystem"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/you-have-to-know-closures-to-be-a-good-react-developer-eykch6r7g","name":"You have to know closures to be a (good) React developer"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/is-there-a-faster-solution-than-document-getelementbyid--wpdt2hsga","name":"Is there a faster solution than document.getElementById()?"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/image-gallery-with-react-and-tailwind-css-upp5n2bd8","name":"Image Gallery with React and Tailwind CSS"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/leetcode-remove-duplicates-from-sorted-array-uopgk8hxj","name":"LeetCode — Remove Duplicates from Sorted Array"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/how-i-organize-my-local-development-environment-9mwzbrnqx","name":"How I Organize My Local Development Environment"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/basic-crud-in-golang-learned-from-unicorn-s-engineer-pqko88b5r","name":"Basic CRUD in Golang, Learned from Unicorn’s Engineer"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/must-know-array-methods-in-javascript-zdawfvkae","name":"Must Know Array Methods in JavaScript"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/hooked-on-react-hooks-mkxtdpvpr","name":"Hooked on React Hooks"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/medium_js/best-of"},{"@type":"ListItem","position":5,"name":"May 2021"}]}]}
```

