Skip to content
Unknown's avatar

John Hardy Developer

Never stop coding

  • Home
  • Lambda
  • Books
  • TEC-1
  • Contact

Month: May 2020

Death by a thousand useCallbacks

When to and when not to use this hook. From a Facebook engineer.

Turns out there are relatively few cases where you really need to use these hooks. The main one is when using React.memo to optimise renders. Other cases are rarer such as passing a function as a dependency to useEffect.

https://royi-codes.now.sh/thousand-usecallbacks/

John Hardy Uncategorized Leave a comment May 26, 2020May 26, 2020 1 Minute

Nectar JS to native compiler

Nectar compiles JavaScript to native binary, a hello world program is just 86 KB

Javascript’s God Mode. No VM. No Bytecode. No GC. Just native binaries. – https://nectarjs.com

https://t.co/RozuzYy2Cu

John Hardy Uncategorized Leave a comment May 18, 2020May 18, 2020 1 Minute

Starship

The minimal, blazing-fast, and infinitely customizable prompt for any shell!

https://starship.rs/

John Hardy Uncategorized Leave a comment May 18, 2020 1 Minute

Recoil

A new take on React state management
https://recoiljs.org/

John Hardy Uncategorized Leave a comment May 18, 2020May 18, 2020 1 Minute

In defense of the modern web

Svelte creator Rich Harris gives a good response to Tom McWright’s article

https://dev.to/richharris/in-defense-of-the-modern-web-2nia

John Hardy Uncategorized Leave a comment May 16, 2020 1 Minute

Don’t use git-flow for web apps

Originator of git-flow doesn’t recommend git-flow for continuously delivered applications. Updated his 10 year old article. https://nvie.com/posts/a-successful-git-branching-model/

John Hardy Uncategorized Leave a comment May 16, 2020 1 Minute

How to test React with Jest

https://www.robinwieruch.de/react-testing-jest

John Hardy Uncategorized Leave a comment May 12, 2020 1 Minute

Second-guessing the modern web

Tom MacWright: https://macwright.org/2020/05/10/spa-fatigue.html

  1. The main UI is built & updated in JavaScript using React or something similar.
  2. The backend is an API that that application makes requests against.

This idea has really swept the internet. It started with a few major popular websites and has crept into corners like marketing sites and blogs.

I’m increasingly skeptical of it.

John Hardy Uncategorized Leave a comment May 11, 2020 1 Minute

Understanding map and apply

A toolset for working with elevated worlds

https://fsharpforfunandprofit.com/posts/elevated-world/#series-toc

John Hardy Uncategorized Leave a comment May 11, 2020 1 Minute

Using responsive modifiers to control layout changes in your components

https://codyhouse.co/blog/post/using-responsive-modifiers-to-control-layout-changes-in-your-components

John Hardy Uncategorized Leave a comment May 8, 2020 1 Minute

Posts navigation

Older posts

Categories

  • Currently Reading
  • functional programming
  • Lambda
  • TEC-1
  • Technical Labour
  • Typescript
  • Uncategorized
  • web
  • webassembly

Archives

  • December 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • November 2014
  • July 2014
  • April 2014
  • March 2014
  • February 2014
  • December 2013
  • January 2013
  • December 2012
  • August 2012
  • July 2012
  • September 2011

Feed

  • RSS - Posts
  • RSS - Comments
Blog at WordPress.com.
John Hardy Developer
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • John Hardy Developer
    • Already have a WordPress.com account? Log in now.
    • John Hardy Developer
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    Design a site like this with WordPress.com
    Get started