Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Does anyone know of a better way to do this? I'm already maintaining this file with the titles of each problem, maybe there's a way to dynamically import and render all the DayXX components based on the length of that list? Or maybe to use the page slug to import just the correct component and render it? But that would probably run into this issue when navigating to other problems.
So this year I'm solving Advent of Code in SvelteKit.
Does anyone know of a better way to do this? I'm already maintaining this file with the titles of each problem, maybe there's a way to dynamically import and render all the DayXX components based on the length of that list? Or maybe to use the page slug to import just the correct component and render it? But that would probably run into this issue when navigating to other problems.