Giter VIP home page Giter VIP logo

old-kentcdodds.com's Introduction

Kent C. Dodds personal website

Netlify Status All Contributors

Contributors

Thanks goes to these wonderful people (emoji key):


Kent C. Dodds

πŸ’» πŸš‡

Jonas Gierer

πŸ’»

Vojta Holik

πŸ’» 🎨

Joel Hooks

πŸ’»

Taylor Bell

πŸ’»

Jason Lengstorf

πŸ€” ⚠️ πŸ’»

Robin Wieruch

πŸ’»

Ahmed T. Ali

πŸ’»

Maciej LeszczyΕ„ski

πŸ’»

Ken Greeff

πŸ’»

Andrew Torres

πŸ’»

Gokulakrishnan Kalaikovan

πŸ–‹

Piotr lasota

πŸ’» πŸ–‹

Chris Lusk

πŸ–‹

Adam Laycock

πŸ–‹

Zama Khan Mohammed

πŸ›

Juan David Castro

πŸ›

Sung M. Kim

πŸ–‹

Michael Fix

πŸ–‹

Christian Hansen

πŸ›

danielo

πŸ–‹

Brian Mitchell

πŸ–‹

Jeff Wen

πŸ’»

Georgi Yanev

πŸ–‹

Edward Kim

🌍

Eli Levit

πŸ–‹

Christian Takle

πŸ–‹

Dimitrios Lytras

πŸ’»

Frank Calise

πŸ–‹

Ivar Nilsen

πŸ–‹

Christopher Biscardi

πŸ’»

Pablo R. Dinella

πŸ–‹

Simon Vrachliotis

πŸ–‹

Michael Wood

πŸ–‹

Mark Erikson

πŸ–‹

J.C. Hiatt

πŸ–‹

Idan Entin

πŸ–‹

Chase Adams

πŸ–‹

Warao

πŸ–‹

Benoit de La Forest

πŸ–‹

Ben Orozco

πŸ–‹

Jimmy Somsanith

πŸ–‹

Krunal Shah

πŸ’»

w5mix

πŸ–‹

MichaΓ«l De Boey

πŸ–‹ πŸ›

Sam Horton

πŸ–‹

Mat Dupont

πŸ“– πŸ–‹

Alejandro Garcia Anglada

πŸ›

Krasimir Nedelchev

πŸ–‹

mohamed magdy

πŸ–‹

Matthieu Bergel

πŸ–‹

mackie

πŸ–‹

aaron

πŸ–‹

Jed Fox

πŸ–‹

Caleb Eby

πŸ–‹

Ideveloper (이승규)

🌍

Derrick Bol

πŸ–‹

Andy Krings-Stern

πŸ’»

Jaakko Puntila

πŸ–‹

Daksh Shah

πŸ–‹

Cory House

πŸ–‹

Stephen Reilly

πŸ–‹

Mutalis

πŸ–‹

Jaime Mendoza

πŸ–‹

Jesco WΓΌster

πŸ’»

Rakibul Hasan

πŸ’»

Stephan de Vries

πŸ–‹

Jonathan Beller

πŸ–‹

Sagiv ben giat

πŸ–‹

Bennett

πŸ–‹

Ashutosh

πŸ–‹

dallanlee

πŸ–‹

paqe

πŸ–‹

Eric Jinks

πŸ–‹

Nicolas Dermine

πŸ–‹

kingingcole

πŸ–‹ πŸ’»

Jorge Baumann

πŸ–‹

ismail simsek

🌍

Jesse Thomson

πŸ–‹

Gregor Albrecht

πŸ–‹

Stefano Magni

πŸ–‹

Bouwe K. Westerdijk

πŸ’» πŸ–‹

LukΓ‘Ε‘

πŸ–‹

Nicholas Murray

πŸ’»

Timothy Vernon

πŸ–‹

Dinesh Pandiyan

πŸ›

Andy Hong

πŸ–‹

fxOne

πŸ–‹

Gilles Debunne

πŸ–‹

Zubin Khavarian

πŸ–‹

Billy Levin

πŸ–‹

Deric Cain

πŸ’»

Abel Lifaefi Mbula

πŸ–‹

Andrew Luca

πŸ–‹

Crushford

πŸ›

arnau-rius

πŸ–‹

JavaScript Joe

πŸ–‹

Dan Abramov

πŸ€”

Travis Baker

πŸ–‹

Ken Gregory

πŸ–‹

GQSM

🌍

Anastasiya Mashoshyna

πŸ–‹

Arkalyk Akash

πŸ–‹

Nate Finch

πŸ–‹

Jeremy Tice

πŸ–‹

Evgeniy Nagalskiy

πŸ’»

Dave Brudner

πŸ–‹

Ryan Hinerman

πŸ–‹

Antonin Januska

πŸ–‹

Ovie Okeh

πŸ–‹

Hitesh Riziya

πŸ’»

mjfneto

🌍

Vedran

πŸ’»

Hossam Mourad

πŸ–‹

Zak

πŸ›

Ivan Kurnosov

πŸ–‹

Ian Jones

πŸ–‹

Andrew Patton

πŸ–‹

Nicholas Whittaker

πŸ’»

Ernesto GarcΓ­a

πŸ–‹

Italo

🌍

Ian Wilson

πŸ–‹

John Yeates

πŸ–‹

David Luhr

πŸ–‹

Adam Laycock

πŸ’»

@berzavlu

πŸ–‹

Daniel Corner

πŸ–‹

Gautier Darchen

πŸ–‹

Nerman Deliahmetovic

πŸ–‹

mattdenkers

πŸ–‹

Pavel Keyzik

πŸ’»

KarelVerschraegen

πŸ–‹

Pranjal Jately

πŸ–‹

Steric

πŸ–‹

Julian

πŸ–‹

Pranesh

πŸ’»

Abhishek Jakhar

πŸ’»

BalΓ‘zs OrbΓ‘n

πŸ–‹

Alejandro Requejo

πŸ–‹

Andrew Aquino

πŸ–‹

todoroff

πŸ–‹

Pedro Filipe

πŸ–‹

Creeland A. Provinsal

πŸ–‹

Hung Viet Nguyen

πŸ–‹

Drew Hays

πŸ–‹

Kim RΓΈen

πŸ–‹

Javier MartΓ­nez

πŸ–‹

Jelte Homminga

πŸ’»

David Stockton

πŸ–‹

Dani de la Cruz

πŸ–‹

Marcus Lyons

πŸ–‹

Ricardo Busquet

πŸ–‹

MinGu Anthony Lee

🌍

Ahmed Talaat

πŸ–‹

Sebastian Silbermann

πŸ’»

AndrΓ© Ericson

πŸ–‹

Timothy Jones

πŸ–‹

Oliver Schmidt

πŸ–‹

Maciek Sakrejda

πŸ–‹

Adam Tuttle

πŸ–‹

Lee Taylor

πŸ–‹

Brooks Lybrand

πŸ–‹

Will Worth

πŸ–‹

Nemanja Glumac

πŸ–‹

Nick Nisi

πŸ–‹

Victor Osipov

πŸ–‹

Justinas Vebra

πŸ›

Peter HozΓ‘k

πŸ–‹ πŸ’» πŸ‘€

onemen

πŸ’»

Marco Moretti

πŸ’»

Art Telesh

πŸ–‹

Stefan Huckschlag

πŸ–‹

Atif

πŸ–‹

Dale Seo

πŸ–‹

Ivan Ganev

🌍

Jonathan Rubin

πŸ–‹

devserkan

πŸ–‹

Hercules Gabriel

πŸ–‹

Gabriel Santana

πŸ–‹

Patryk Fryda

πŸ–‹

Carmelo Scandaliato

πŸ–‹

Jacob M-G Evans

πŸ‘€

Adam Vigneaux

πŸ–‹

Julian Betancourt

🌍

Nikolai Yakuschenko

πŸ–‹

ravishankar97

πŸ–‹

Yury Nekhaevskiy

πŸ–‹

Konstantin MΓΌnster

πŸ’»

Bill Fienberg

πŸ–‹

Juliette Rapala

πŸ–‹

Nikolay Stoynov

πŸ–‹

Oscar Dominguez

πŸ’» πŸ–‹

Willian Fernandes

πŸ‘€

Justin Hall

πŸ–‹ πŸ’»

Nikola Đuza

πŸ–‹

Chris Milson

πŸ–‹

Giovani Sousa

πŸ–‹ 🌍

Sudhanshu

πŸ–‹

danielghandahari

πŸ–‹

Vladislav Gapurov

πŸ–‹

Erik Rasmussen

πŸ–‹

P. Michael Holland

πŸ–‹

Maciek Sitkowski

πŸ–‹

Alexandros Rantos

πŸ–‹

hiroki osame

πŸ–‹

Arpan Chattopadhyay

πŸ–‹

Aditya Donthy

πŸ–‹

Joshua Pinter

πŸ–‹

Jae Hyun An

🌍

Koal

🌍

Dakotah Godfrey

πŸ–‹

Itay

πŸ–‹

thomasmarr

πŸ–‹

Diana GarcΓ­a

πŸ’»

Richard Mena

πŸ–‹

Abhijeet Singh

πŸ–‹

This project follows the all-contributors specification. Contributions of any kind welcome!

old-kentcdodds.com's People

Contributors

abhishekjakhar avatar allcontributors[bot] avatar aprillion avatar arnau-rius avatar atuttle avatar baumannzone avatar creeland avatar daleseo avatar dance2die avatar drshpongle avatar frankcalise avatar imgbot[bot] avatar itsmylife avatar jacobmgevans avatar jlengstorf avatar joelhooks avatar juliang avatar kentcdodds avatar kingingcole avatar lasota-piotr avatar marcuslyons avatar michaeldeboey avatar mutalis avatar nicoder avatar noriste avatar oscard0m avatar sleepyarpan avatar stephan281094 avatar tayiorbeii avatar vojtaholik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

old-kentcdodds.com's Issues

404

Hitting kentcdodds.com gives me a 404.

Create Content Page

  • Page would pull in content from various platforms you have courses/material
  • Content would be grouped/categorized
  • Content could be searched/filtered/sorted

Ideally, the content pulled in would be able to have a preview/snippet to make a more visually appealing display

Possible Resources:

Gatsby Source YouTube
Gatsby Source Custom API

Quote blocks in imported medium posts have extra > characters

See the blog post: React/JSX as a server-side templating language
Markdown file on Github
Blog post on Netlify
Blog post on Medium

It looks like the importer is inserting extra > characters.

> _Another note:_ >
> [_I've been teasing_](https://twitter.com/kentcdodds/status/1041712678970875904) >
> _about something big that I have coming. I'm totally not joking. I'm working
> on something really huge and y'all will be the first to know about it. Stay
> tuned. It's weeks away and I think you're going to love it._

did-you-know

404

This blog post is about mediums multiple claps feature.... As you are moving from Medium, not sure if you need this one, but totally your choice.

Feature Request: Text Selection Popper Container Sharing Links

Hey @kentcdodds!

I miss highlighting text in your detailed blogposts on medium. So I thought it'd be cool to be able to highlight text in the blogposts, and show a popper, containing, for example, twitter share icon, which will automatically pick selected text and open twitter box, pre filled with template text.

Using a useTextSelection hook, which would return text and position of the text, which can be consumed for example by react-popper, wired with mousedown, mouseup, shift + keydown and shift + keyup events.

Would you like something like that? I've just started something like that over here (https://codesandbox.io/s/usetextselection-react-hook-wip-g0ksf
), thinking you might.

Reference β€” https://codepen.io/FezVrasta/pen/YEVrGP

Broken links

I've noticed that you have some broken links that point to your post on Medium which doesn't exist anymore.
For example in Application State Management post:
Screenshot 2019-03-24 at 22 11 06
that points to https://medium.com/dailyjs/reacts-%EF%B8%8F-new-context-api-70c9fe01596b.
Do you want me to PR with fixed links (4 more places)?

add contributors

Using this to add a few people who have contributed to this site.

Bug? Link Intermittenly Points to Wrong URL

Problem:

Sometimes when this blog post loads, the link points to https://firstpr.me/#kentcdodds

Other times when it loads, it points to https://egghead.io/courses/how-to-write-an-open-source-javascript-library.

Guessing this is unintended behavior?

I was going to submit a PR to fix it but in the actual index.md file, you have the correct link so I'm not sure what's going on πŸ€·πŸΌβ€β™‚οΈ

image

Context

I opened the post in Firefox Developer Edition from your newsletter. Same thing happens in Chrome: http://recordit.co/EkrbLUOs6x

Issue: Missing CodeSandbox in "reacts-new-context-api" article

πŸ› What?

Following article is missing two CodeSandbox sandboxes.

You can see that the HTML is missing the Sandbox code.

error

How to reproduce the error

Compare the source article with the destination articles.
The destination article is missing two Sandboxes present in the source article.

πŸ”— Article Links

Not able to deploy this fork on netlify, but you have active depl

Hello Sir, I am learning with you, and found your blog is enhanced fork of eggheadio starter. I'm so inspired by this. As I'm learning, I want to write some articles with the forked version & deploy it over netlify. I tried to deploy with the minimal version(removing many unwanted things) as well as with original source code.

Unfortunately, I never able to succeed with deployment over netlify, no matter how many times I refactored it and tried again. Might, I'm missing something either some important stuff or may be some credentials in .env or .netlify file, or something else.

Can you please help me to make lite version of blog, lite not as eggheadio starter but as enriched as your blog with less dependencies, so everyone from us can deploy their blog easily.

useEffect vs useLayout Effect article

Nice one on the article. Here, it did seem like there were 2 public effect hooks and 1 mystery hook.

References to that:

  • All three of these
  • some are more optimal than others
  • and use the other two hooks
  • the difference between the other two

I wanted to edit and send in a PR, but I can't write like you πŸ˜…

Category Pages

So people can find the kind of stuff they want to find better

Keyword Pages

So people can find what they want to find better.

[remark-embedder] Twitter embed with double underscore doesn't work

When converting all of @CompuIves' Medium posts over to @codesandbox' blog, I copy-pasted the remark-embedder. (see codesandbox/codesandbox-client#2011)

When looking at all the pages I came across a bug with the Twitter embed when the username contains 2 underscores (_).

When I try to embed the following Tweet, I just see the link with an italic d instead of the Tweet card itself:

https://twitter.com/brian_d_vaughn/status/901488766581227520

An example can be seen at https://pr2011.build.csb.dev/post/creating-a-parallel-offline-extensible-browser-based-bundler-for-codesandbox

Reduce the size of kent's image ?

By the way site looks grt πŸ‘

But one thing I noticed while loading was @kentcdodds your avatar image in home page takes time to load although you have the service worker to cache the subsequent request. But initial load is could be little faster if we optimize the kent.png image in hero folder.

Attaching an optimized version of it.

Its 127KB. Original was around 500KB

kent-optimizied

Blog URL with trailing slash leads to error page

When navigating to https://kentcdodds.com/blog/ (note trailing slash) an error is thrown by the browser telling the user that This site can’t be reached. If you remove the trailing slash, you are directed to the blog as expected.

This was brought to my attention via Google by clicking on the link in the screenshot:

Screen Shot 2019-03-12 at 11 35 08 AM

Once at the blog it is great πŸŽ‰ Thanks for the awesome content Kent!

FutureTime component uses wrong date

This component recieves date as 'yyyy-mm-dd' and uses that mm in the Date constructor where it should be a monthIndex (from 0 to 11).

function FutureTime({date: dateString}) {
  const date = new Date(...dateString.split('-'))
  const isFuture = date > new Date()
  return (
    <span>
      <time>{dateString}</time>
      <small css={{opacity: '0.8'}}>{isFuture ? ' future ⚑️' : null}</small>
    </span>
  )
}

This results in having 1 month difference between the real talk/workshop date and the one that is used to compare if it is future or not.

Warning when compiling a page

Hey Kent,

first of all a huge Thank You for opening up this blog and giving us opportunity to learn and reuse!

I see a warning in your code that I can't quite put my fingers on. When running yarn dev and edit a page so it gets updated in the browser, I see this error:

info changed file at /d/entw/www/kentcdodds.com/content/blog/react-strict-mode/index.md
β„Ή ο½’wdmο½£: Compiling...
warning Action createPage was called outside of its expected asynchronous lifecycle createPages in default-site-plugin.
Ensure that you return a Promise from createPages and are awaiting any asynchronous method invocations (like graphql or http requests).
For more info and debugging tips: see https://gatsby.app/sync-actions

File /d/entw/www/kentcdodds.com/gatsby-node.js:25:5
  23 |     }
  24 |
> 25 |     createPage({
     |     ^
  26 |       path: pagePath,
  27 |       component: path.resolve(`./src/templates/post.js`),
  28 |       context: {

As far as I can tell the function is called in an async context, I'm not sure what's missing. The update works fine, it's just that message that appears.
Is this just a weird combination of HMR and gatsby compiler interfering?

Thanks again,
Torsten.

Code samples don't wrap long lines, can't read

Screenshot 2019-05-21 at 16 03 11

The code blocks have a max width and don't wrap. Something is missing like white-space: pre-wrap; or code samples with lines already wrapped down to the mobile breakpoint. Not sure of the solution, just wanted to mention that readability issue. (especially for those without easy horizontal scrolling device like myself today)

Other than that, thanks for the great content, I'm always happy to read your new stuff πŸ‘

markdown: newlines should always render as a space

Figure out how to make sure there are spaces for markdown formatted like this:

[this is a link](https://google.com/a-very-long-link-that-takes-an-entire-line-by-itself)
[this is another link](https://google.com/which-is-also-a-very-long-link-that-takes-an-entire-line-by-itself)

This will be rendered as:

<a href="https://google.com/a-very-long-link-that-takes-an-entire-line-by-itself">this is a link</a><a href="https://google.com/which-is-also-a-very-long-link-that-takes-an-entire-line-by-itself">this is another link</a>

The solution is to add a space to the end of the first line or place them on the same line with a space between them, but prettier formats it the way it is above.

So I think this is an issue with how mdx converts those. I'm not sure how to solve this problem...

List bullets render above the text

There's a little oddity in your reset.js that renders list bullets in markdown documents above the list item if the text takes the full width:

Snag_3d0c160

Not sure if you want it that way, if not I solved it by changing the list-style-position in reset.js:

  ul, ol {
    list-style-position: outside;
    margin-left: 1em;
    font-size: ${typography.baseFontSize};
  }

Which renders:

Snag_3d20133

thoughts on blogging frameworks?

I see you are "rolling your own" blogging framework with simple react views and routes. Having you looked at gatsby, Metalsmith or Hexo? The setup is pretty extensive and not as expressive as what you are able to do with rolling your own, do you have any thoughts on how to fix this? I was talking to @vonbearshark about how if Jekyll was simply translated one to one to JS it would fit 99.9% of use cases.

Improve RSS feeds

Hey Kent!

Congrats for the new website look, it looks cool πŸ‘Œ

Problem (s)

  1. The current RSS feeds at rss.xml, doesn't include the actual blog post content (see below).
  2. There are double / in all guids right after the base domain which (while works fine) could cause a tiny problem for RSS readers when you later (eventually ) fix it. So, I suggest to fix it now ;)
  3. PLEASE, set CORS to Access-Control-Allow-Origin: * for the feed URL so that client-side RSS reader users (like me) could access your posts.

Current behavior

<?xml version="1.0" encoding="UTF-8"?>
<rss
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>
      <![CDATA[Kent C. Dodds]]>
    </title>
    <description>
      <![CDATA[Come check out how Kent C. Dodds can help you level up your career as a software engineer.]]>
    </description>
    <link>https://kentcdodds.com</link>
    <generator>RSS for Node</generator>
    <lastBuildDate>Sun, 10 Feb 2019 15:55:45 GMT</lastBuildDate>
    <item>
      <title>
        <![CDATA[Testing Implementation Details]]>
      </title>
      <description>
        <![CDATA[Last year when I was using enzyme (like everyone else at the time), I stepped
carefully around certain APIs in enzyme. I
 completely avoided shallow rendering ,
 never  used APIs like  instance() ,  state() , or  find('ComponentName') . And
in code…]]>
      </description>
      <link>https://kentcdodds.com//blog/testing-implementation-details</link>
      <guid isPermaLink="false">https://kentcdodds.com//blog/testing-implementation-details</guid>
      <pubDate>Mon, 19 Nov 2018 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>
        <![CDATA[How to React]]>
      </title>
      <description>
        <![CDATA[This last week I gave
 a talk at called "How to React." 
It's basically an updated version of
 Pete Hunt's 
 react-howto  GitHub repo. I thought
I'd just jot down a few things from this talk for you to enjoy in your inbox
today :) Abstraction Let's…]]>
      </description>
      <link>https://kentcdodds.com//blog/how-to-react</link>
      <guid isPermaLink="false">https://kentcdodds.com//blog/how-to-react</guid>
      <pubDate>Mon, 16 Apr 2018 00:00:00 GMT</pubDate>
    </item>
  </channel>
</rss>

Expected behavior

I'd expect the RSS feed to include something like <content:encoded/> tag (since the necessary namespace is already declared ) that includes an encoded representation of the full post content. See Dan's blog for example.


Continue being awesome :)

Highlighted lines in code snippets don't take full width

The problem arises when there is a scrollbar present. More here

However, you will notice that when a highlighted line runs wider than the surrounding code block container (causing a horizontal scrollbar), its background won’t be drawn for the initially hidden, overflowing part. :(

Screen Shot 2019-03-26 at 2 38 39 PM

This website isn't using gatsby-remark-prismjs but the problem is similar

Why not comments?

Hey Kent,

I'm also starting a blog, and was wondering what's the pros/cons of adding comments?
Seeing you've decided not to add them (and @gaearon as well on overreacted.io).
Is a Twitter thread really a better experience vs. in site comments or Disqus?

Asking here in case other people would be interested in this as well.
Thanks!

Related:
gaearon/overreacted.io#7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.