eureka
eleventy πβ‘οΈ
eureka | eleventy πβ‘οΈ | |
---|---|---|
11 | 244 | |
4 | 16,249 | |
- | 1.0% | |
1.8 | 9.3 | |
over 3 years ago | 3 days ago | |
JavaScript | ||
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eureka
-
How to build a website without frameworks and tons of libraries
Here's an example of building a well-structured, maintainable web-site using JavaScript, HTML and CSS: https://github.com/wisercoder/eureka/tree/master/webapp/Clie...
It doesn't use React (imagine the horror!), instead it uses two tine 500-line libs.
-
React is 10 years old
> a literal 5-20x productivity boost
Not really. See a better way here: https://github.com/wisercoder/eureka
- Building a Front End Framework; Reactivity, Composability with No Dependencies
-
React is a fractal of bad design
I'm not quite seeing React being used, just JSX though? All the view and state updating is being done manually, but it looks fairly well-organised. There are small optimisations like debouncing onInput with a timeout (avoiding rapid re-rendering for every character typed): https://github.com/wisercoder/eureka/blob/master/webapp/Clie...
- Ask HN: Good resource on writing web app with plain JavaScript/HTML/CSS
- Can We All Just Admit React Hooks Were a Bad Idea?
- Ask HN: What happened to vanilla HTML/CSS/JS development?
-
I don't miss React: a story about using the platform
React works well for simple, non-interactive components. Complex, interactive components are going to have state. Stateful components don't work so well in React. If you want to update props in a stateful component, the recommendation is to replace the component entirely by changing its key. At the point all of the benefits of React (preservation of selection, caret position, scroll position etc.) vanish. You might as well use vanilla js instead of React.
What does using Vanilla JS look like? Here's an example: https://github.com/wisercoder/eureka It uses two tiny 500-line libs. It uses TSX files, just like React. It has components, just like React. It doesn't have incremental screen update, but neither does React, if your components are interactive and stateful.
- A Visual Guide to React Rendering
eleventy πβ‘οΈ
-
Converting BlogCFC blog to Eleventy
This post outlines the steps for migrating an existing BlogCFC blog to a JamStack, with a focus on using Eleventy.
-
Ask HN: What's the simplest static website generator?
I suggest you to try out eleventhy (https://www.11ty.dev/)
Quite simple to start, and a nice system to add some scripting and styles without the requirement of bringing in a framework.
-
Eleventy - Create a global production flag
A production flag enables you to run activities in dev or production such as minifying assets, showing draft posts, etc. There isn't a built-in flag or function that comes with eleventy (11ty) specifically for this. However we have this info at our fingertips.
-
Ask HN: Looking for lightweight personal blogging platform
I can't recommend Eleventy enough!
https://www.11ty.dev
I converted my WordPress blog to Eleventy 4 years ago and never looked back, it's been delightful!
https://www.joshcanhelp.com/taking-wordpress-to-eleventy/
-
Removing React is just weakness leaving your codebase
Itβs 2024, and you are about to start a new project. Do you reach for React, a framework you know and love or do you look at one of the other hot new frameworks like Astro, Enhance, 11ty, SvelteKit or gasp, plain vanilla Web Components?
-
VS Code - Fix a task automation issue - `The terminal process failed to launch (exit code: 127`
The "dev" script is running the eleventy server in dev mode. The details of the script are not important for this discussion, but to round out the background here is an abbreviated version of my package.json:
-
Eleventy vs. Next.js for static site generation
Eleventy is a fast and powerful SSG that really shines when it comes to pure static site generation because it does not require the loading of a client-side JavaScript bundle in order to serve content.
-
You don't need JavaScript for that
The irony is using a JavaScript-based static site generator to make the site: https://www.11ty.dev
-
Why You Should Write Your Own Static Site Generator
https://doublejosh.com/post/186193119278/metalsmithjs-is-sti...
Then two years ago I needed a more robust SSR system based on React, so I went with GatsbyJS. It's insanely mature and intuitive, but as we all know that community and business is now drying up too. But the framework is still great.
Now everyone sings the praises of NextJS, which can be used for SSR but is intended for applications and active server endpoints. But more complexity doesn't mean better.
I'm keen to try other simple frameworks when the result is a static site. I may give https://www.11ty.dev a shot.
-
From Jason: my custom digital garden in 11ty
11ty is a lightweight static site generator. I chopped up my HTML and used the 11ty starter template called eleventy-base-blog as the structural foundation for the site.
What are some alternatives?
webcomponents - Web Components specifications
astro - The web framework for content-driven websites. βοΈ Star to support our work!
Ink - π React for interactive command-line apps
Hugo - The worldβs fastest framework for building websites.
org-mode-site-template - A workflow for a complete site using the HTML publish option of Emacs Org-Mode
SvelteKit - web development, streamlined
el - Minimal JavaScript application framework / WebComponents base class
Gatsby - The best React-based framework with performance, scalability and security built in.
editable-website - A SvelteKit template for building CMS-free editable websites
Publii - The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
uhtml - A micro HTML/SVG render
Grav - Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony