Robin Lindner
Explore posts from serversCDCloudflare Developers
•Created by Robin Lindner on 8/10/2024 in #workers-help
Real-time API
Hey all,
is there a way to publish real time messages over WebTransport & WebSockets over Cloudflare services or do I need an own backend?
Low-latency would be nice.
6 replies
CDCloudflare Developers
•Created by Robin Lindner on 6/24/2024 in #pages-help
Headless CMS for Cloudflare+Astro
Hey all,
can anybody recommend a headless CMS for use in Astro SSR on Cloudflare?
I currently use contentful, but the contentful integration uses under the hood somewhere
eval
, which is disabled by CF.1 replies
CDCloudflare Developers
•Created by Robin Lindner on 4/2/2024 in #pages-help
wrangler preview output is not the same as live
2 replies
CDCloudflare Developers
•Created by Robin Lindner on 3/31/2024 in #general-help
CDN Performance in Europe
Are there plans improving Cloudflare CDN performance in general (e.g. more PoPs)?
Especially in Europe/Germany.
For some of my pages I currently use Bunny. Some things are already running on Cloudflare.
I also find the handling of Cloudflare much better & the possibilities with Workers, etc. are much better.
Nevertheless, the latency of Bunny, Edgio, ... still outperforms...
1 replies
CDCloudflare Developers
•Created by Robin Lindner on 3/29/2024 in #pages-help
100 rules limit on Astro-generated site
Previously, I ran my Astro website with node under Docker.
Since the cluster is getting too expensive for me in the long run, I'm in the process of switching to Cloudflare and have tried to use the Cloudflare adapter for Astro.
Apparently the workers have an upper limit for rules (100).
A _routes.json with almost 150 exclude rules is created for the static files.
Does anyone have a good approach to solving the problem?
30 replies
Build a Drag & Drop Designer with Solid
I have a major project at the moment.
It's about building a designer for documents (mostly DIN A4 / US Letter - but also labels).
What is the best way to build something like this with SolidJS? With a drag & drop functionality, snapping & co.
And some kind of invisible grid, so that I can save the result of the designer at the end and render it in another service, e.g. to PDF or ZPL.
How would you proceed with something like this? Have you ever built something like this?
6 replies
useContext returns undefined.
Hey I created a Provider and a context to manage figlet fonts.
This provider is just a "singleton"-reference to my FontRegistry.
FontProvider + useFonts:
Child-Component:
For some reason
useContext
returns undefined.
I use Astro for this, but even in client:only
mode it does not work.
Astro page:
1 replies
Modal Implementation
Has anyone ever written a generic component for a modal?
Something lean and not an external UI framework is enough for me. I heard the <portal> component is quite useful for this.
Background is that I want/need to implement a small DSGVO modal.
11 replies
Modals in SolidJS
Is there some proper way implementing modals in solid?
I have a special button component and I want to open a modal on clicking this button.
I read something about
Portal
. Can you help me here :)?
What would you do? Best Practice?4 replies
Theme management with Solid
I would like to have a Dark and Light Mode on my page. For this I use Solid in combination with Astro.
How would you proceed now?
My current status is that I have created a wrapper object "Scaffold" on the Astro page.
Scaffold is a solidjs component which looks like this:
There I import a "signal" for the theme:
15 replies
Static compilation of deno modules
Is there a way to statically compile libraries into the .js bundle instead of dynamically retrieving them from deno.land.
The point is that I would like to test the Boa engine in the Deno environment and so the libraries are interfering.
Of course the Deno internals have to be implemented afterwards.
So that, for example, from the following code:
becomes:
the compiled code of https://github.com/lucacasonato/deno_local_file_fetch/blob/main/mod.ts
something like:
5 replies
[resolved] CI failure TS2684
Hey, I'm currently working on a pull request for the Astro project. Unfortunately the CI doesn't like my code despite the latest Deno version (1.26.1).
Does anyone know what the reason is and can possibly give me a solution?
GitHub Actions run: https://github.com/withastro/astro/actions/runs/3200178618/jobs/5226807106.
3 replies