Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chungwu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Show HN: Multiplayer lunar lander game built on partykit / rapier, open source
(lander.gg)
2 points
by
chungwu
3y ago
|
1 comments
2.
▲
by
chungwu
3y ago
We have a lot of respect for the work Builder.io is doing! If you're using Plasmic as a CMS, then there is a lot of overlap there. But Plasmic is a general visual React app builder, and as such, it comes with a lot of the abstractions
3.
▲
by
chungwu
3y ago
We wanted to support tight integration with people's existing codebase, so that it is easy to use your React components directly in Plasmic, or to read data from your React contexts provided from outside of Plasmic, or to have your cod
4.
▲
by
chungwu
3y ago
You can also take a look here! https://github.com/plasmicapp/plasmic/tree/master/platform/w... This is Plasmic-generated code that we ourselves use to build our visual editor.
5.
▲
by
chungwu
3y ago
The main way to extend Plasmic is to use your own React code components. So if there's something you can't achieve with our editor, you can make a component that does it, and use it in the design. An alternative way is to use the
6.
▲
by
chungwu
3y ago
It is possible to use Plasmic in other contexts, but to really unlock the power of Plasmic, yes you need to be using React.
7.
▲
by
chungwu
3y ago
Basically, you set up a "custom app host" -- stand up your server (which has your code components), and you add a route (say ` https://yoursite.com/plasmic-host `) that renders a special `<PlasmicCanvasHost/
8.
▲
by
chungwu
3y ago
We wanted Plasmic to be the source of truth for certain things (the css, the composition, etc), so that it is possible to re-generate code from Plasmic and continue iterating on your designs (design-to-code is never a one-time thing!). We&
9.
▲
by
chungwu
3y ago
It can deeply integrate into your existing app (reuse your React components, and form the same React tree as your React app and read from the same React contexts, etc), and it can be hosted from anywhere. It also places a lot more emphasis
10.
▲
by
chungwu
3y ago
Right now Plasmic mainly target outputting React components. The code it generates can either be consumed as files you check into your codebase (see https://docs.plasmic.app/learn/codegen-guide/ ) or as data you fe
11.
▲
by
chungwu
3y ago
Yes, in a way! Plasmic is a general visual React app builder that can be embedded into your existing React app or be deployed standalone. As such, we place a heavy emphasis on _design_, so you can build exactly the thing that you want, and
12.
▲
by
chungwu
3y ago
Plasmic isn't a one-time codegen tool, where you generate some code and then modify it to suit your needs. Instead, we've designed Plasmic code generation so that you can generate code, add some business logic, iterate on design,
13.
▲
by
chungwu
3y ago
Plasmic at its core is a general React app builder. You can create components, add interactivity, and connect to other data sources. You can also bring in your own React components, so there's endless possibilities in extending the to
14.
▲
UI for visual padding/margin manipulation
(twitter.com)
1 points
by
chungwu
5y ago
|
0 comments
15.
▲
by
chungwu
5y ago
For some components, like a button, overriding some css may be all you need. But other components can be more "opinionated" - for example, for a Slider component, do you want to label your thumb value? Does it go on the side of th
16.
▲
by
chungwu
5y ago
react-aria is about more than just putting the aria-attributes in the right place. It also takes care of interactivity, keyboard accessibility, focus management, and smoothing over some crazy differences between browsers. Sure, it's al
17.
▲
by
chungwu
5y ago
react-aria is awesome. You structure your DOM and css however you want, and react-aria provides hooks that return props to spread onto your elements to make them come alive. These same hooks also give you visibility into and control of the