• Àâòîðèçàöèÿ


Consuming REST APIs In React With Fetch And Axios rss_smashmagazine 03-06-2020 13:30


Consuming REST APIs in a React Application can be done in various ways, but in this tutorial, we will be discussing how we can consume REST APIs using two of the most popular methods known as Axios (a promise-based HTTP client) and Fetch API (a browser in-built web API). I will discuss and implement each of these methods in detail and shed light on some of the cool features each of them have to offer.

https://www.smashingmagazine.com/2020/06/rest-api-react-fetch-axios/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Click! Here: Meet Our New Smashing Book rss_smashmagazine 02-06-2020 15:00


You’ve been there before, haven’t you? Perhaps your manager insists on using a dark pattern to trick customers into buying. Or an A/B test has just shown that an annoying pop-up does increase sign-ups. Or maybe you always end up firefighting negative reviews and angry customer inquiries and your calls to action don’t perform well. Whether we are designers, marketers, entrepreneurs, or product owners, we are all in the same boat.

https://www.smashingmagazine.com/2020/06/encouraging-clicks-book-release/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè

Smashing Podcast Episode 17 With Angie Byron: What’s New In Drupal 9? rss_smashmagazine 02-06-2020 08:00


In this episode of the Smashing Podcast, we’re taking a look at what’s new in Drupal 9. What are the major upcoming changes to this nearly 20-year-old open-source project? Drew McLellan talks to Drupal core committer Angie Byron to find out. Show Notes Angie Byron on Twitter and her personal website Angie works for Acquia who build software and services around Drupal Drupal and About Drupal 9 Weekly Update “How To Feel More Energized Even When You’re Stuck At A Desk All Day”

https://www.smashingmagazine.com/2020/06/smashing-podcast-episode-17/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
React Error Handling And Reporting With Error Boundary And Sentry rss_smashmagazine 01-06-2020 15:00


In this article, we’ll look at error boundaries in React. We’ll learn what they are and how to use them to deliver a better user experience, even when something breaks in our app. We’ll also learn how to integrate with Sentry for realtime error monitoring. This tutorial is aimed at React developers of every level who wants to start using error boundaries in their react apps. The only prerequisite is that you have some familiarity with React class components.

https://www.smashingmagazine.com/2020/06/react-error-handling-reporting-error-boundary-sentry/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Explore Your Inner Artist (June 2020 Wallpapers Edition) rss_smashmagazine 31-05-2020 09:00


There’s an artist in everyone. Some bring their creative ideas to life with digital tools, others capture the perfect moment with a camera or love to grab pen and paper to create little doodles or pieces of lettering. And even if you think you’re far away from being an artist, well, it might just be buried somewhere deep inside of you. So why not explore it? Since more than nine years already, our monthly wallpapers challenge is the perfect opportunity to do just that: to challenge your creative skills and break out of your routine of meeting deadlines and client expectations for a moment to do something just for fun.

https://www.smashingmagazine.com/2020/05/desktop-wallpaper-calendars-june-2020/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Smashing Meets Gives A Sneak Preview Of What To Expect At Live! rss_smashmagazine 29-05-2020 15:00


Last week we had our first Smashing Meets event. A free event across two days and many timezones, with three speakers each day and plenty of chance for attendees to chat and ask questions of the speakers. In addition to brightening your day with a virtual meetup, Meets was a chance for us to test the conference platform we’ll be using for our first Smashing Live conference. So, how did it go?

https://www.smashingmagazine.com/2020/05/smashing-meets-live/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Mirage JS Deep Dive: Understanding Factories, Fixtures And Serializers (Part 2) rss_smashmagazine 29-05-2020 14:00


In the previous article of this series, we understudied Models and Associations as they relate to Mirage. I explained that Models allow us to create dynamic mock data that Mirage would serve to our application when it makes a request to our mock endpoints. In this article, we will look at three other Mirage features that allow for even more rapid API mocking. Let’s dive right in! Note: I highly recommend reading my first two articles if you haven’t to get a really solid handle on what would be discussed here.

https://www.smashingmagazine.com/2020/05/mirage-javascript-factories-fixtures-serializers/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
How To Run The Right Kind Of Research Study With The Double-Diamond Model rss_smashmagazine 29-05-2020 13:00


Product and design teams make a lot of decisions. Early on in the development of a product, they will be thinking about features — such as what the product should do, and how each feature should work. Later on, those decisions become more nuanced — such as ‘what should this button say? Each decision introduces an element of risk — if a bad decision is made, it will reduce the chance for the product to be successful.

https://www.smashingmagazine.com/2020/05/research-study-double-diamond-model/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
How To Create Better Angular Templates With Pug rss_smashmagazine 28-05-2020 14:00


As a developer, I appreciate how Angular apps are structured and the many options the Angular CLI makes available to configure them. Components provide an amazing means to structure views, facilitate code reusability, interpolation, data binding, and other business logic for views. Angular CLI supports multiple built-in CSS preprocessor options for component styling like Sass/SCSS, LESS, and Stylus. However, when it comes to templates, only two options are available: HTML and SVG.

https://www.smashingmagazine.com/2020/05/angular-templates-pug/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Equivalent Experiences: What Are They? rss_smashmagazine 27-05-2020 14:30


If you spend enough time interacting with digital accessibility practitioners, you may encounter the phrase “equivalent experience.” This saying concisely sums up a lot of the philosophy behind accessibility work. Our industry tends to place a lot of focus on how, often at the expense of why. For accessibility-related concerns, it is vital to learn about the history, and lived experiences of disabled people as a context for understanding the need for design and code created with access in mind.

https://www.smashingmagazine.com/2020/05/equivalent-experiences-part1/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
How To Feel More Energized Even When You’re Stuck At A Desk All Day rss_smashmagazine 26-05-2020 15:00


Let me tell you a little story. I used to work for a translation agency. It was my job to copy-and-paste translations from one document into another and then to review the writing for errors. I worked between 10 and 12 hours every day, usually taking lunch at my desk (if I remembered to do so) and physically repeated the same thing over and over: mousing back and forth between my two giant computer screens and staring at too-small type.

https://www.smashingmagazine.com/2020/05/more-energized-stuck-at-desk-all-day/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Getting Started With Axios In Nuxt rss_smashmagazine 26-05-2020 12:00


Nuxt.js provides an Axios module for easy integration with your application. Axios is a promise-based HTTP client that works in the browser and Node.js environment or, in simpler terms, it is a tool for making requests (e.g API calls) in client-side applications and Node.js environment. In this tutorial, we’re going to learn how to use the Axios module and how to make a request on the server-side using asyncData and fetch.

https://www.smashingmagazine.com/2020/05/getting-started-axios-nuxt/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Building Reusable React Components Using Tailwind rss_smashmagazine 25-05-2020 14:00


In this post, we’ll look at several different ways you can build reusable React components that leverage Tailwind under the hood while exposing a nice interface to other components. This will improve your code by moving from long lists of class names to semantic props that are easier to read and maintain. You will need to have worked with React in order to get a good understanding of this post.

https://www.smashingmagazine.com/2020/05/reusable-react-components-tailwind/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
How To Design A Brand Logo (With Ease) rss_smashmagazine 22-05-2020 13:30


As a web designer, you may find yourself in a position where a client wants you to design their brand logo. If you’re feeling up to the task, there are some things you need to know first. For instance: How do you translate the value of a brand into a logo? Where can you go for logo design inspiration? Which tools should you use to create a logo (like Wix Logo Maker)?

https://www.smashingmagazine.com/2020/05/design-brand-logo-wix/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Inspired Design Decisions With Max Huber: Turning Mundane Subjects Into Exciting Visual Communication rss_smashmagazine 22-05-2020 12:00


Years ago, I wished I could work on advertising projects for household names because I thought that above-the-line work would bring creative satisfaction. I’ve been lucky to work with many well-known businesses and charities, but looking back, my smaller projects were the most satisfying creatively. Often, big brands have already established guidelines which mean there’s less room for me to experiment and exercise my creative muscles. I’m not saying brand guidelines are unimportant, but I prefer to work on projects where I feel I add the most value and a little of myself.

https://www.smashingmagazine.com/2020/05/inspired-design-decisions-max-huber/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Understanding Machines: An Open Standard For JavaScript Functions rss_smashmagazine 21-05-2020 13:30


As developers, we always seek ways to do our job better, whether by following patterns, using well-written libraries and frameworks, or what have you. In this article, I’ll share with you a JavaScript specification for easily consumable functions. This article is intended for JavaScript developers, and you’ll learn how to write JavaScript functions with a universal API that makes it easy for those functions to be consumed. This would be particularly helpful for authoring npm packages (as we will see by the end of this article).

https://www.smashingmagazine.com/2020/05/understanding-machines-open-standard-javascript-functions/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
How To Make Performance Visible With GitLab CI And Hoodoo Of GitLab Artifacts rss_smashmagazine 20-05-2020 13:30


Performance degradation is a problem we face on a daily basis. We could put effort to make the application blazing fast, but we soon end up where we started. It’s happening because of new features being added and the fact that we sometimes don’t have a second thought on packages that we constantly add and update, or think about the complexity of our code. It’s generally a small thing, but it’s still all about the small things.

https://www.smashingmagazine.com/2020/05/performance-visible-hoodoo-gitlab-artifacts/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Can Data Visualization Improve The Mobile Web Experience? rss_smashmagazine 19-05-2020 14:30


It can be tough to prioritize the mobile experience when it often feels like a compromise. Don’t include as much text. Remove some of your images. Stay away from features that get in the mobile visitor’s way. It’s kind of like a parent who tells you, “Go out and have a good time, but don’t do X, Y or Z!” It’s not necessarily that a mobile visitor needs a shorter page, less text or fewer images to more easily consume content on a smartphone.

https://www.smashingmagazine.com/2020/05/data-visualization-mobile-web-experience/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
Smashing Podcast Episode 16 With Ben Frain: How Can I Optimize My Home Workspace? rss_smashmagazine 19-05-2020 08:00


In this episode of the Smashing Podcast, we’re talking about shaping our physical spaces when working from home. What can you do to take a step up from working at your kitchen table? I spoke to workspace geek Ben Frain to find out. Show Notes Read Ben’s article “A Complete Guide To Mechanical Keyboards” Ben on Twitter Ben’s website Weekly Update “Setting TypeScript For Modern React Projects Using Webpack And Babel,”

https://www.smashingmagazine.com/2020/05/smashing-podcast-episode-16/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè
How To Create A Mobile App In Expo And Firebase (For iOS And Android) rss_smashmagazine 18-05-2020 16:00


Maybe you’ve heard of or worked with React, the JavaScript framework developed by Facebook. The social media company took it even further by releasing React Native, which quickly became the most popular framework for building mobile apps with JavaScript. Many companies embraced the idea and started building their apps with it. In this article, we’ll get an idea of how to develop an application for Android and iOS using Expo and Firebase, based on my own experience of creating an application with these technologies.

https://www.smashingmagazine.com/2020/05/mobile-app-expo-react-native-firebase-ios-android/

êîììåíòàðèè: 0 ïîíðàâèëîñü! ââåðõ^ ê ïîëíîé âåðñèè