SaaSHub helps you find the best software and product alternatives Learn more ā
tagged-template Open-Source Projects
-
htm
Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
-
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.
Project mention: Ask HN: How do you use React as a library in 2024? | news.ycombinator.com | 2024-05-10I know what "MVC" _stands_ for, but I'm asking what _context_ you mean that in. Are you talking about how to define your server-side data models and endpoints? How you're organizing client-side fetching and caching?
Normally "MVC" as a concept doesn't get used in the React ecosystem (the way it did with Backbone.js).
FWIW it's certainly _possible_ to use React as a script tag, but it's extremely rare. It's normally expected that the frontend _is_ actually bundled and compiled, whether it be using a pure-SPA build tool like Vite, or one of the full server-side frameworks like Next or Remix.
Note that the SPA build output is just a set of static HTML/JS/CSS files, which do not require a separate Node server process for hosting - they can be served by any HTTP server.
My own advice would be to use Vite and build as an SPA.
_If_ you absolutely want to use React as _just_ a `` tag with no build step, I'd recommend also using <a href="https://github.com/developit/htm">https://github.com/developit/htm</a> to at least give you JSX-like syntax for writing your components.
Project mention: What is the best way to write html inside of template strings? | /r/learnjavascript | 2023-12-09I just found common-tags on github and it looks great. One issue though:
tagged-template related posts
-
Ask HN: How do you use React as a library in 2024?
-
React SSR web-server from scratch
-
Gaseous - Yet Another Games Manager
-
Create and Hydrate HTML with HTM
-
Anyone using React from just a CDN, barbarian style?
-
A few programming language features Iād like to see
-
Using React without JSX == no build
-
A note from our sponsor - SaaSHub
www.saashub.com | 20 May 2024
Index
Project | Stars | |
---|---|---|
1 | htm | 8,570 |
2 | common-tags | 1,971 |
Sponsored