Filter by source
All sources GoCardless 6194 PubNub: 2474 Vercel 1664 Ariya Hidayat 849 Serverless 849 Jake Trent 816 Drew DeVault 784 Nic Raboy 734 SitePoint 633 Neon 504 Supabase 435 Shopify 432 Soundcloud 409 Databricks 396 Real Python 394 Johannes Brodwall 378 Jeremy Kun 327 Laravel 296 PostHog 294 Twilio 260 Graham King 257 MapTiler 257 Carlos Becker 252 Scott Johnson 250 Cloudflare 244 Lea Verou 244 Matt Aimonetti 231 Atomic Object 218 Andrew Bancroft 214 Nvidia 212 Stanko Tadić 189 Lerner Consulting 188 Stack Overflow 183 Freek Van der Herten 182 The Daily WTF 168 Raymond Chen 165 Trivago 159 GitHub Old 155 Discord 140 Dan Luu 137 WyeWorks 134 Swizec Teller 133 Una Kravets 132 Auth0 129 Codrops 126 OCTO Technology 123 Reginald Braithwaite 121 Android 119 Hostinger 119 Jane Street 119 Radek Pazdera 118 Warp 114 AWS 110 Antirez 110 Thoughtbot 105 Cerner 103 AdRoll 102 Changelog 101 Jake Wharton 101 Nelson Elhage 98 Martin Fowler 96 dbt Labs 95 Ilija Eftimov 94 Marek Majkowski 94 Docker 87 .NET 86 Finn.no 86 Nick Desaulniers 86 Hayden James 84 Marcelo Rinesi 84 Nordic APIs 82 Timescale 82 Toptal 82 Luciano Mammino 80 Sentry 79 Wingify 78 Jessie Frazelle 77 Monica Dinculescu 77 Matt Warren 76 Drivy 75 Jan Lelis 75 T.J. Maher 74 Paweł Chudzik 73 Kotlin 69 Ebay 68 Mykhailo Kozik 68 Axel Rauschmayer 64 Mozilla Release 64 Evil Martians 63 Confluent 62 Tania Rascia 60 0xADADA 59 Jake Yesbeck 59 Khan Academy 59 Tailscale 59 Dean Hume 57 RoseHosting 56 SurveyMonkey 53 jOOQ 53 Sam Saffron 51 Facebook AI Research 48 Monstermuffin 48 Huon Wilson 45 Philip Walton 45 Dennis Felsing 44 HackerEarth 44 Rust 44 The Pragmatic Engineer 44 Fly.io 43 Josh Sherman 42 Stripe 42 Gleb Bahmutov 41 Robin Ward 41 Philipp Oppermann 40 Armin Ronacher 36 Daniel Doubrovkine (dB.) 36 Alex Russell 35 Grab 35 Addy Osmani 34 Airbnb 34 Pinterest 34 Tumblr 33 8th Light 32 Joe Nelson 32 Brandwatch 31 Palantir 31 Bartlomiej Filipek 30 Domenico Luciani 30 IPFS 30 Lazarus Lazaridis 30 Pamela Fox 30 Evan Miller 29 Vanilla Java 29 Evan Hahn 28 Jonathan Snook 28 PagerDuty 28 Ruslan Spivak 28 Dereuromark 27 Okta 27 Petr Mitrichev 27 Red 27 GitHub 26 Julia Evans 26 Mozilla Hacks 26 Bad Concurrency 25 CSC - IT Center For Science - Cloud Team 25 GameChanger 25 Guido van Rossum 25 Jay Fields 25 Jeff Preshing 25 Life Plus Linux 25 Mark Seaborn 25 Oona Räisänen 25 Srinivas Tamada 25 Stephen Colebourne 25 Steve Yegge 25 Criteo 24 Eli Bendersky 24 Kogan.com 24 Squarespace 24 Dropbox 23 Crystal 22 Elegant Code 22 Babbel 21 Blundell's Android Tutorials 21 Gusto 21 HomeAway 21 Netflix 21 Dave Cheney 20 David Walsh 20 Erlang Solutions 20 Guardian 20 Justin Weiss 20 Michael Herman 20 Miguel Quinones 20 Mike Ash 20 Ole Begemann 20 Paul Irish 20 Robert C. Martin 20 Stefan Parker 20 Target 20 Wilfred Hughes 20 Yahoo 20 Instacart 19 Jeff Atwood 19 Spotify 19 Thumbtack 19 Aaron Patterson 18 Arkency 18 Nikola Brežnjak 18 The Coded Self 18 Chris Wellons 17 Jerry Gamblin 17 Matthew Green 17 Wealthfront 17 Filippo Valsorda 16 Medium 16 Postmark 16 RocksDB 16 Stack Abuse 16 Yegor Bugayenko 16 Zach Holman 16 Amit Merchant 15 Bigcommerce 15 Blender 15 Edward Faulkner 15 High Scalability 15 Housing.com 15 Hypriot 15 Jacopo Tarantino 15 John Wittenauer 15 Lambda the Ultimate 15 Localytics 15 Microsoft Python 15 Robin Wilson 15 Slack 15 Advanced Web Machinery 14 Grofers 14 Helpshift 14 HubSpot 14 OLX 14 REA Group 14 Rob Allen 14 Vlad Mihalcea 14 Bootstrap.com 13 Feedzai 13 Grafana 13 Indeed 13 Lyft 13 Michael Crump 13 Nextdoor 13 Scott Hanselman 13 Strava 13 Bazaarvoice 12 Canva 12 Henrik Warne 12 Jon Skeet 12 Mary Rose Cook 12 Nicolas Liochon 12 Novoda 12 Steve Bellovin 12 Abu Ashraf Masnun 11 Badoo 11 Deliveroo 11 Eric Lippert 11 Haptik 11 Hashrocket 11 JobTeaser 11 Kevin Burke 11 Marco Pivetta 11 New York Times 11 OpenDNS 11 Paypal 11 Ramon Fried 11 RisingStack 11 Small Improvements 11 VNGRS 11 Vinted 11 Zendesk 11 Alan Storm 10 Appnexus 10 Artsy 10 BBC 10 Benchling 10 Bill the Lizard 10 Bohops 10 Brendan Eich 10 Brendan Gregg 10 Brujo Benavides 10 Clever 10 Curalate 10 Daily JS 10 Daily Tech Video 10 Daniel Schmidt 10 Dot Dev (.dev) 10 Dragan Djuric 10 Eddie Smith 10 Eric Elliot 10 Erik Runyon 10 Evan Jones 10 Federico Cargnelutti 10 Findmypast 10 Flickr 10 Freeletics 10 GoSquared 10 Groupon 10 Harry's 10 Henrik Lau Eriksson 10 High Scalability 10 Hootsuite 10 Idontgetoutmuch's Weblog 10 Itamar Turner-Trauring 10 Jamis Buck 10 Jesal Gadhia 10 Joel Spolsky 10 Juan Treminio 10 Junior Grossi 10 Kirill Shevchenko 10 Larry Land 10 Matt Cutts 10 Matt Might 10 Mesosphere 10 Miro Cupak 10 Miro 10 NSHipster 10 Nick Craver 10 Ofer Zelig 10 Panorama Education 10 Pat Shaughnessy 10 Piotr Pasich 10 Pony Foo 10 Postman 10 ReactJS News 10 Regular Geek 10 Remind 10 RetailMeNot 10 Riot Games 10 Schakko 10 Skyscanner 10 Stitch Fix 10 Teamwork 10 Tikhon Jelvis 10 Tinder 10 Transferwise 10 TrueCar 10 Undocumented Matlab 10 Universe 10 UpGrad 10 VTS 10 Wojtek Gawroński 10 XING 10 Yammer 10 Yifan Lu 10 Zolmeister 10 eFounders 10 Josh Haberman 9 Nate Berkopec 9 Wemake.services 9 Mike Fogus 8 Ian Hummel 7 Ilya Grigorik 6 K. Harrison 6 Sensible 6 James Long 5 Thomas Young 5 Edgar Aroutiounian 4 Avenue Code 3 Bandcamp 3 James Hague 3 Raymond Hettinger 3 Algolia Anders Aarvik Ariejan de Vroom Asana Atlassian Bjørn Johansen Blake Erickson Bryan Cantrill Capgemini Chen Hui Jing Chien Tran Cloudera Cloudsmith CockroachDB Code with style! CodeName One Codelitt Codeship Commercetools Credit Karma Crowdfire Deezer DoorDash Dragan Gaic Engine Yard Entelo Envato Envoy Eventbrite Federico Tomassetti Figma GIPHY Galois Go GoDaddy Guilherme Rodrigues Hashnode Heroku Honeybadger Honeycomb IMVU Ievgen Kuzminov Instagram Jobandtalent John Resig Jonathan Dekhtiar Just Eat Kinvolk Kolosek Kyle Kingsbury LINE Linear LiveRamp Liveblocks Made Tech Marc Plano-Lesay Microsoft Edge Moove-it Mozilla Automation Team NPR Apps Nicolai Parlog (CodeFX) Oursky Oxide Computer Paul Lewis Peter Norvig Peter Steinberger Peteris Krumins PicCollage PlanetScale Prezi PullReview Rachel Kroll Radim Řehůřek Ray Wenderlich React Native Render Retool Schibsted Tech Polska Sharethis Sketch Sky Betting & Gaming Soshace Speedledger Sqreen Square Stackshare Swift Swiggy Takipi Temporal Turso Vena Solutions VersionEye Wayfair William Kennedy Zed Zendesk(old) theScore
816 articles Visit blog →

421. Controlling pointer-events (jaketrent.com)

You can control what elements can be the target of mouse events with CSS.Disable Pointer-Eventspointer-events is the CSS attribute that determines whether an element can be the target of a mouse event. By default, DOM elements are clickable and register these mouse events.To disallow the mouse event...

422. Get ref for Glamorous Component (jaketrent.com)

Accessing a glamorous component's ref is a bit different.Normal ref AccessIn React, the ref is an attribute on a component that allows you to access the actual DOM element that the component is bound to. This is important for anything that requires direct DOM access, such as focus control.The ref pr...

423. Single Glamor Instance (jaketrent.com)

It's important to have a single glamor instance on the page.The RuleThe rule: Have one instance of glamor on the page at a time.How important is this rule? Very important. You can have a couple issues if you have more than one instance of glamor on the page.In BrowserIn the browser, I've seen this f...

424. Continuously Not Delivering (jaketrent.com)

You can shy away and do nothing or ship something satisfying.Stuck MyselfI've been stuck -- and for no other reason than myself. Sometimes we get in our own way. We shy away from the challenge. We have a hard time moving ourselves to action.We can make excuses to assuage our ineptitude in the moment...

425. JavaScript Arrow Function Return Rules (jaketrent.com)

Arrow functions treat return values in a couple ways.Normally Returns are RequiredThere has traditionally been no implicit return in JavaScript functions. If you write a function using the function keyword, this remains true:function needsReturn() { 'awesome' } needsReturn() // returns undefinedFunc...

426. Limits Create Choices (jaketrent.com)

With limited time and focus, you get to choose where to spend them.These limits apply to many facets of life. How do they apply to meetings in particular?Meeting MultitaskingWe get choices to attend meetings every day. We can be there for a long time. The classic modern meeting hedge move is to brin...

427. Host a Web App For Free (jaketrent.com)

Heroku is an great option to host a web app for free.Heroku's Sweet SpotHeroku is a platform as a service that is great for developers. You need a few skills to get started. Know how to use git. Well, I guess we're all disqualified already.Heroku doesn't really host websites. It hosts web apps. So, ...

428. Stub a Json Api (jaketrent.com)

Here's a quick, easy setup for a JSON Rest API.Quick and EasySometimes you want a rest endpoint that you can use for some short-term purpose. You're doing a demo. You're trying to get a candidate to write a client that interacts with an API. You want a fake API for testing.Whatever the purpose, if i...

429. Global Styles in Storybook (jaketrent.com)

How to set global styles in Storybook environment.Via AddonsThere are some addons that allow you to set global styles. One that I use is addon-backgrounds. It allows you to set background colors to have your components appear upon.To use it (or other style-affecting addons), install:npm install @sto...

430. Enforce a Git Commit Message Format (jaketrent.com)

Enforce a git commit message format for your project.Updated: 28 Aug 2017 to use commitmsg hook. Thanks to marionebl.Power of a ConventionYou could choose any format. One git commit message format that I like is conventional commits. With a convention, you can generate a changelog or use tools like ...

431. Remove an Array Element Without Mutation (jaketrent.com)

Here's a way to remove an array element without mutating the array.Default MutationsBy default, the array methods in JavaScript will mutate your array. Mutation means that the original array is changed in place. A common way to do this is with splice.With splice, you tell the array at which index to...

432. Generate Snapshot Tests from Storybook (jaketrent.com)

How to generate snapshot tests for Jest from Storybook.Snapshot TestingSnapshot tests are a type of test that takes your UI in a certain state and serializes it to a string. If this string changes, it means that your UI, for that state, has changed output. Because it's a simple string serialization,...

433. Deploy Next.js to Github Pages (jaketrent.com)

How to deploy a Next.js static site to Github Pages.Github Pages is a great place to deploy static Next.js sites.Setup Next.jsAs of next@3, a static export of your Next.js site is possible.This is accomplished with:next build && next exportWhen you export, you can specify the output directory with -...

434. Render CodeMirror on the Server (jaketrent.com)

CodeMirror is a great in-browser editor that needs some help when rendered server-side.In-browser Code EditorCodeMirror is a library that provides code and a UI for creating a coding environment inside your browser. There's an editable text area where you can type code, and as you write it, it's syn...

435. The Power of Team Combinations (jaketrent.com)

The most powerful teams come from the special combinations of members.Product of TeamsA great team is one that has a great time making a great product.To have a great time, we must enjoy working with the others on the team. We have a productive relationship. We inspire and help one another. We commu...

436. Deeper Focus (jaketrent.com)

Your knowledge of a field is deeper when you're focused on it.Your SurroundingsStop wherever you are and consider your surroundings. Look around, making note of things you see. Do this for 30 seconds. Then close your eyes and list all the red items that you saw.Actors sometimes use this exercise to ...

437. Progressive and Conservative Tech Adoption (jaketrent.com)

In adopting tech, some are more conservative, some are more progressive, and we can help each other.People and New TechThe world of technology grows every day. There are new things to explore and try out.For some, that endless feed of new contains promises of new potential. They see new capabilities...

438. Change Page Title in React (jaketrent.com)

Change the page title when the user routes to a new page.A Great ToolThere are many ways to get the page title to change and some great tools to assist you. There is a particularly great tool that will do that and a bit more. It's called react-helmet.It can set anything that occurs in the head of th...

439. What is CSSNext? (jaketrent.com)

The ecosystem that CSSNext lives within can be confusing to name and navigate. Here's how I see the pieces fitting together.PostCSSBefore we get to CSSNext, let's visit PostCSS. PostCSS provides transform functions for CSS. These functions are written in JavaScript. PostCSS can assemble one or more ...

440. Why the Interview Lunch? (jaketrent.com)

Why we go to lunch as a part of the interview process.We Need to EatWe're going to need to take time during the day to eat. Why not eat with someone else? Keith Ferrazzi wrote a great book, enticing us to never eat alone.When you're at lunch, eat. Use good manners, but eat like you always would. It'...

441. Flowtype process.env (jaketrent.com)

Add typing to your process.env access in Node.js.process.env Accessprocess.env is a globally-available object on which environment variables are accessible to your Node.js program.When you ask for an environment variable, such as process.env.MY_VAR, it may or may not be set. If it's set, it'll be re...

442. Setup Flowtype for a Node.js Backend (jaketrent.com)

Here's a way to setup for types on a Node.js backend app.Flowtype Requires TranspilationFlowtype will provide types for JavaScript, which originally has so little type information that it has essentially none.You'll need to transpile from flowtyped-javascript into vanilla javascript that Node can ru...

443. Hello, styled-components/primitives (jaketrent.com)

Styled components create components that take their styles with them. Primitives style cross-platform components.An Imagined WorldIn his talk, React as a Platform, Leland Richardson imagines what React would be like if it went from "learn once, write anywhere" to "write once, run anywhere".He reason...

444. Upsert in Knex.js (jaketrent.com)

How to upsert in Knex.js.Postgres UpsertUpsert is a fantastic feature in SQL that works kind of like "insert a new row, and if it already exists, update it".In Postgres, the syntax is handled as:INSERT INTO table_name (column_name) VALUES (expression) ON CONFLICT (conflict_target) DO UPDATE SET colu...

445. Override CSS Modules with react-styleable (jaketrent.com)

An easy, consistent way to override CSS modules in React components.CSS ModulesCSS modules are fantastic because they scope your CSS. No longer does everything have to live in the global namespace.A natural boundary to scope CSS to is within a web component. A React component can have a correspondin...

446. Spacemacs Flowtype Integration (jaketrent.com)

This is a way to integrate flow with Spacemacs.Install FlowFirst, put flow somewhere in your PATH so that Spacemacs can find and use the binary no matter what project you're editing. The best option I've found so far is flow-bin, installed globally:npm install -g flow-binSpacemacs File WatcherPreins...

447. Handling Touch and Mouse Clicks in the Browser (jaketrent.com)

Here's a way to support both mouse clicks on a desktop and touches on a mobile device for event handling.Mouse EventsMouse events are most familiar, used on websites much earlier than touch. Familiarly, you can detect them and run your own even handlers with:const el = document.querySelector('button...

448. Setbacks are Temporary (jaketrent.com)

When you run into a problem, do you see it as permanent or temporary?Permanent Means NatureIf we believe our setbacks are permanent, we believe that's just the way things are. That is the nature of ourselves, our problems, or our world. It's hard to change nature.This is a rough place to be because ...

449. Never Miss a One-on-one (jaketrent.com)

Never miss a one-on-one. It can send the wrong message.The Business of PeopleOne-on-ones are personal interviews with people you lead. It is a chance to communicate things that you each want the other to know. It's an opportunity to connect with each other as people. One-on-ones are about the busine...

450. Rest is Good (jaketrent.com)

Rest is good for the body and the mind.Humans Need RestRest is an opportunity to disconnect and have downtime. We as humans need it. We are not machines. We have a rhythm to our existence. We respond at different times to the changing circumstances within and without us.We don't operate at a constan...
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open