makepad
slate
Our great sponsors
makepad | slate | |
---|---|---|
24 | 26 | |
4,690 | 28,980 | |
2.5% | - | |
9.9 | 8.4 | |
about 2 hours ago | 5 days ago | |
Rust | TypeScript | |
MIT License | 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.
makepad
-
WASM: Big Deal or Little Deal?
It is what Makepad is working on in an interesting way using Wasm and Rust. They have created a Figma-like DSL and a good code separation with the logic behind it. You can edit UI's of in-production apps, and they are bundling an editor for that. Accessibility is an issue, and the project are looking to offer proper support there. In their video linked on the README they run the conference slides on Makepad with live apps embedded and running at 120 fps.
https://github.com/makepad/makepad
https://news.ycombinator.com/item?id=36567681
-
Snappy UIs with WebAssembly and Web Workers
> if anyone tells you they need to use WebAssembly to make the UI snappy I'd advise you interrogate that assertion thoroughly.
Get prepared to be blown away by Makepad [0]. I have no affiliation with them, but just watched their most recent conference presentation [1]. The slides were made with Makepad itself and included, embedded, a full-blown IDE, a synthesizer app, a Mandelbrod to zoom in endlessly, and more. All running at 120fps. The presentation is for the most part live-coding with this setup.
What they want to do is bring coders and designers closer together, and while some code is in Rust they developed a DSL for the GUI parts that is close to how Figma works. These GUI's can run anywhere.
And I couldn't help thinking "Why would people have complicated stacks to create Web 2.0 apps for the Google Web, when they have this?", in other words an opportunity to break out of the browser straitjacket.
[0] https://github.com/makepad/makepad
[1] https://www.youtube.com/watch?v=rC4FCS-oMpg
-
Makepad- Synthesizer Written in Rust
For those who haven’t seen it, Makepad is also an in-browser code editor with an open-source UI toolkit. Looks like this synth is one of the examples of the UI toolkit.
https://makepad.dev/
-
50 Shades of Rust, or emerging Rust GUIs in a WASM world
And I'm obsessed with what happens when you press Alt in their editor. I never knew I wanted this, but boy, do I want it.
-
Leveraging Rust and the GPU to render user interfaces at 120 FPS
I tried this, using https://makepad.dev our GPU accelerated UI and renderstack. And unfortunately it wasn't a great experience. Text popping forward for whatever reason is not really an improvement (i tried indent depth, syntax highlighting reasons, cursor behavior). Maybe 'veeeeery' subtly could do something, but otherwise you dont want it to break visual symmetry as we are used to
-
Is the regex crate a bottleneck in your program? If so, can you share the details?
Wow, so they did: https://github.com/makepad/makepad/pull/142
-
Ask HN: I just want to have fun programming again
It says on the front page Mac and Web only
https://github.com/makepad/makepad#prerequisites
(windows and linux are coming )
-
Rust Web Framework Comparison
We can! It’s a lot of work because you don’t have the whole JS ecosystem to fall back on, but to some that’s a feature not a bug.
My favorite example of this is https://makepad.dev
-
Lapce release v0.0.12 open source code editor
And a feature highlight of Code Lens. The idea is borrowed from https://github.com/makepad/makepad
-
Why Not Rust?
When it comes to compile times, the most optimized Rust codebase I know for optimized for this is makepad.dev [1].
It is compiling from scratch on mac m1 in around 7.5s [2] and that's +100k lines of Rust. However there is close to none dependencies, so this +100k is all there is to compile pretty much.
[1] https://makepad.dev/
[2] https://twitter.com/rikarends/status/1467529091284934666
slate
- 5 Not-So-Typical React Libraries for an Outstanding Project
-
Which Rich Text Editor to use ?
- it creates a layout based on rows and cells, so it support multi-column layout - each cell can contain a different "cell-plugin", - richt-text editor based on https://github.com/ianstormtaylor/slate is built in and comes with its own plugin system. It can do weight, italic, block-types, alignment and lists and can be extended as you want (even with elements storing data and interactive components) - you can create custom cell plugins based on a schema (or custom control ui) and a component that should be rendered - it stores an object tree that represent it, not html. It therefore can contain any react component, which is great if you want to allow your editors to add interactive components or components that you already built as part of the app - i carefully optimized for SSR and bundle size, so no editor ui is rendered nor loaded. editor ui is only loaded on the client if you disable readOnly. (lazy loading) - it mainly tested with nextjs, since i used it for content-heavy pages. - its not yet tested with react-server components, but it should actually work in read-only mode
-
What is your goto WYSIWYG Editor?
Finally there's Slate and Lexical which are super powerful in terms of customizability and extensibility. They're great options for when the editing experience plays a major role in the product.
-
Looking for the best React Editor library
Slate, as per its documentation, is a completely customizable framework for building rich text editors. Therefore, it doesn't offer a feature-rich text editor but instead provides tools to build one. Let's create a component called Slate and see what the Slate editor looks like.
-
Slate | Editor in 10min with Next.js and TS ✍️
Link to Repo
-
Is there a good alternative to Draft-js rich text editor?
Word of warning about Slate: I love the API and the design goals, but it appears to suffer from some fundamental issues. We were experiencing issues similar to this one and a team of multiple 10+ year experienced frontend devs couildn't figure out what was going on. I had to completely rip out a feature we had built with Slate and had to reimplement a new version from scratch with Lexical. So far we have no issues other than those inherent to rich text editing.
-
Lexical – a web text editor framework that powers Facebook
We're trying to choose between Lexical and Slate at work. Do you have any examples that would be similar to this? https://github.com/ianstormtaylor/slate/blob/main/site/examp...
-
A good rich text editor for reactjs?
If you are going to customise a ton of functionalities and/or implement new functionality I suggest using SlateJS. If not, have a look at Sun editor.
-
Ace, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in Browser
You definitely need to give Slate (https://github.com/ianstormtaylor/slate) a try - the best editor framework I've used.
-
Best WYSIWYG editor for Vue that supports structured content?
Slate: Looks very promising, but it's for React. (Someone has floated the idea of making it framework-agnostic, but the maintainers haven't committed to that goal yet.)
What are some alternatives?
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
Draft.js - A React framework for building text editors.
ProseMirror - The ProseMirror WYSIWYM editor
quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
gallery - Flutter Gallery was a resource to help developers evaluate and use Flutter
tiptap - The headless rich text editor framework for web artisans.
react-canvas - High performance <canvas> rendering for React components
lexical - Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
xi-editor - A modern editor with a backend written in Rust.
Editor.js - A block-style editor with clean JSON output