Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
percyhanna
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
percyhanna
3y ago
By a custom renderer, are you referring to replacing the rendering process (e.g. ReactDOM) rather than replacing JSX? It's not clear to me how this would be better than swapping out the @jsx pragma. For rendering content to the Canvas,
2.
▲
by
percyhanna
3y ago
`react-canvas` definitely has a lot of similarities, but it is very old, uses class-based components, uses React elements, and most importantly, it doesn't provide any auto-layout functionality out of the box. The main driving factor b
3.
▲
by
percyhanna
3y ago
Google Docs uses Canvas + WASM, I believe.
4.
▲
by
percyhanna
3y ago
CanvaSX currently doesn't have its own rendering event loop or anything like that, it simply renders everything that is passed in. For now this makes the implementation very simple and naive. Internally we are using this for our Aha! W
5.
▲
by
percyhanna
3y ago
Perhaps I could have shared more details on this. We did explore regular DOM/HTML for some of the functionality, but we needed to build it into our existing Whiteboards stack which uses Canvas. Rendering as HTML would not have worked f
6.
▲
Building a dynamic Canvas rendering engine using JSX
(aha.io)
22 points
by
percyhanna
3y ago
|
14 comments
7.
▲
Embrace the monolith: Adding a new product to Aha
(aha.io)
5 points
by
percyhanna
4y ago
|
0 comments
8.
▲
by
percyhanna
5y ago
I've been using semantic variables for years, but they were always defined in Sass/LESS. With this approach and using CSS variables, it's really easy to have the same semantic palette, but then define different themes. Nice!
9.
▲
rquery – A React testing utility providing tree traversal similar to jQuery
(github.com)
3 points
by
percyhanna
11y ago
|
0 comments