PHPnews.io

Overview for 'evertpot'

Ketting v6: Using Hypermedia APIs with React

Written by Evert Pot / Original link on Sep. 9, 2020

We just released Ketting 6. This is the accumulation of about a yearof learning on how to better integrate REST APIs with frontend frameworks,in particular React.It’s packed with new features such as local state management, new cachingstrategies, (client-side) middleware support and change events.…



ECMAScript 4: The missing version

Written by Evert Pot / Original link on May. 28, 2020

In your build tools, you may have noticed that you have an ECMAScript 3target, and 5 and up, but never a 4. Why is that?I thought it would be fun to dive into ECMAScript 4 a bit and see whatwe didn’t get.A brief historyAccording to Wikipedia, the first draft of ECMAScript 4 was datedFebruary 1999.…


A generic middleware pattern in Typescript

Written by Evert Pot / Original link on Apr. 15, 2020

I just realized this is the third time I’m writing async middleware invoker,I thought I would share the generic pattern for the benefit of others.I’m not sure if this is interesting enough for a NPM package, so I’ll leaveit here for inspiration.The specific middleware pattern I am implementing, is…


Common no-cors misconceptions

Written by Evert Pot / Original link on Mar. 19, 2020

Between tasks I spend a fair time on Stack Overflow, which is (truth be told)a love/hate relationship.There’s a few recurring questions that I feel deserve a longer explanation.Last time, I wrote about how to use MySQL in Node.js, but today I wantedto write about the fetch no-cors setting.What is…


Curveball - March updates

Written by Evert Pot / Original link on Mar. 17, 2020

Curveball is the freshest new microframework for Typescript.Since the last big announcement, there’s been a number new curveballusers, and also a few framework changes.I thought it would be nice to list some of the things we’ve been working onthis month.Starter templateProbably the most significant…