August 6th, 2024

Show HN: Launch React components in your app with no-code

A new feature called Collections enables non-technical users to deploy React components in web applications without engineering support, including air traffic controls for display management and a centralized rendering registry.

Show HN: Launch React components in your app with no-code

A new feature called Collections has been developed to enable the launch of simple, stateful React components such as promotions, banners, and announcements within web applications. This feature allows non-technical team members to deploy native, prebuilt components directly in the product UI without needing engineering support. Collections can be embedded in code, functioning like a <div> that spawns inline React components or appears as floating elements. They can be styled to match the existing design system of the application. The feature includes air traffic controls (ATC) that manage the display of components, ensuring a balanced user experience by preventing excessive notifications. The development process faced challenges, particularly in managing the React rendering lifecycle to avoid duplicate component rendering. A centralized client-side registry was created to track the DOM tree, while the ATC logic is determined server-side to optimize performance. The initial release includes a library of pre-built React components, with plans to allow custom components in the future. This server-driven UI approach aims to provide a balance of quality and speed, similar to methods used by companies like Uber and Pinterest. The developers believe this method offers more control and flexibility compared to existing no-code tools.

- Collections allows non-technical users to launch React components without engineering help.

- The feature includes air traffic controls to manage component display and user experience.

- A centralized client-side registry was developed to track component rendering.

- Initial release features pre-built components, with plans for custom component support.

- The approach aims to balance quality and speed, similar to practices of major tech companies.

Link Icon 5 comments
By @samstave - 2 months
@Dang -- One of the most lovely things about HN is how, when suddenly, a lot of same-vein ideas pop up that when seen holistically can all be leveraged if you're keenly watching (HN Lego as it were...) :-)

@pancomplex -- Love it.

What I am pinging above about is that I was posting yesterday in response to "Structured outputs" from OpenAI [0] -- and then Magic Loops founder chimed in.

This seems Perfect! for what I was describing in that comment thread:

So with Frigate, I can have non-code-non-tech inputs into an app, such as you state, by linking the FlowID and load a Magic-Loop Snippets, and have micro-prompt widgets in a react app/dash that can poll and include whatever data is important. (wait until txtai libs are used in these Frigates)

So, imaging that you want a flow that has a component where you take a MagicLoop to poll for a particular thing, then include that ML (smart AI crons jobs) - and embedd them into the flow, and have it hit the page - so you get multiple layers of abstraction, with a deeper level of tools that can provide some really interesting ways users can add functions to their app based on Frigate...

---

Does this make sense? (dopamine is plentiful this AM)

https://news.ycombinator.com/item?id=41173223#41176823

---

I really like this - and I am working on something that can fully use this - I just don't have time till later in the weekend to attempt to integrate - but this is a functionality that I really do need - and if I can integrate it in the way I hope to -- ill show it to you.

By @recursive - 2 months
How tightly coupled is this to react? Is there any chance to use this in a SPA-framework-agnostic way?
By @namanyayg - 2 months
It seems like you are targeting non-tech users, is that correct?

While you have created something technically impressive, I'm afraid that it looks way too complex for any layman.

By @nilirl - 2 months
This feels very useful. Something I can easily recommend when working with a small marketing team. Great job!