You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a new npm package! It solves the problem of creating a fetch compatible function to call routes on the same express server. Inspired by express-data-ssr. Very useful for calling a backend package which you run as a middleware, within your server side rendering code (let's say you are using SSR in node.js for the initial render of your game as an SPA and you are using a headless CMS for the data like directus) https://www.npmjs.com/package/express-middleware-fetch
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have created a new npm package! It solves the problem of creating a fetch compatible function to call routes on the same express server. Inspired by express-data-ssr. Very useful for calling a backend package which you run as a middleware, within your server side rendering code (let's say you are using SSR in node.js for the initial render of your game as an SPA and you are using a headless CMS for the data like directus) https://www.npmjs.com/package/express-middleware-fetch
Beta Was this translation helpful? Give feedback.
All reactions