Is was successful because I didn't use any sort of LLM assistance.
Is was successful because I didn't use any sort of LLM assistance.
It’s going to be very successful, because I used all sorts of LLM assistance (and because it’s adding onto a successful app that’s been shipping for two years).
There’s absolutely no way that I could have managed this scale, on my own.
There will be examples of both success and failure, with LLMs.
What approach are you taking? I'm about to start a mithril.js project, was always under the impression it was the most efficient approach. Are you doing something similar or different or are you referring to WASM?
export default function component(render) {
const $dom = xxxx
render($dom);
}
example: https://github.com/mickael-kerjean/filestash/blob/master/pub...
the only library in there is rxjs to manipulate events in a functional fashion with no imperative code and everything is composed from those simple component functions. The wasm is used mostly as an interface for plugins to both run apps to display various file types like RAW, PSD, TIFF, CDR, .... as those tend to have better support in C than other languages, and on the server side to have a safe environment to execute plugin code.It’s not hard to be faster than React while exposing broadly similar functionality. If you’re making something for your own usage only, it’s even easier to beat it.
Also, I'm planning to release my changes as a framework that can be used for a variety of interactive websites.
Here is an example of a template used to render a list of events.
const EventItem = () => {
EventItem.eventTime = (eventData) =>{
if(eventData.isRecurring){
return `${eventData.dayOfWeek}s at ${eventData.nextEventTime}`;
}
return `${eventData.nextEventDate} at ${eventData.nextEventTime}`
}
EventItem.url = (eventData) => {
return `/html/groups/event.html?id=${eventData.eventId}&groupId=${eventData.groupId}`
}
EventItem.location = (eventData)=>{
return `${convertLocationDataForDisplay(eventData.eventLocation)}`
}
return `
<li>
<a
class="btn secondary"
{{href=url}}
{{eventName}}
>
</a>
<div
class="event-time"
{{eventTime}}
>
</div>
<div
class="event-location"
{{location}}
>
</div>
</li>
`;
}
BaseDynamicComponent.defineTemplate(EventItem,"EventItem");
This is how the template is used in a component. <ul
data-array=data
data-template-name=EventItem
></ul>I plan to publish an updated version soon.