-
``` java
interface Supplier
{
@doc("Gets a value")
T get();
@doc("Gets a value or if null returns the given alternative.")
T orElseGet(T alternative)
{
…
-
是否有考虑过维护一个所有基于quarkc的组件讨论共享社区,最大程度复用已经造过的轮子,也能增加曝光率。
-
如题。 目前好像不支持。但是有别的框架(stencil)已经实现了,希望可以借鉴,完善这一块功能。
1. @Prop:
地址:[https://stenciljs.com/docs/properties#object-props](https://stenciljs.com/docs/properties#object-props)
![image](https://github.…
-
This is a _regression_ since 0.7.
In check.q:
```
quark 1.0;
namespace check {
String Check(String p1) {
Map params = { "p1": p1 };
// ...and the JSON for the request body...
…
-
### A description of the problem, steps to reproduce, or with code samples, can be hosted on a GitHub repository with a link to the repository. (问题说明,重现步骤,或附上代码示例,可存放 GitHub 仓库并提供仓库链接。)
_No response_
-
Was prepping for demo tomorrow and hit this while installing Quark (develop branch) on a new VM:
```
ubuntu@ip-172-31-54-150:~$ ./install.sh
Installing from PyPI
--> Performing installation environm…
-
在子组件 SubComponent 暴露了`setData`方法,但在父组件 ParentComponent 的 `componentDidMount` 方法里访问,显示`this.componentRef.current.setData is not a function`
~~~ javascript
import { QuarkElement, property, customEleme…
-
### 描述
编译后的 quarkc 模块会导致单元测试加载失败,通过源码导入可以正常执行。
### 目标
使用编译后的 quarkc 可以正常运行单元测试。
### 步骤:
1. 拉取quark-core源码: `git clone https://github.com/hellof2e/quark-core.git`
2. 安装依赖并构建core模块:`pnpm…
-
### A description of the problem, steps to reproduce, or with code samples, can be hosted on a GitHub repository with a link to the repository. (问题说明,重现步骤,或附上代码示例,可存放 GitHub 仓库并提供仓库链接。)
我看quarkd却没有这个…
-
类似 `Vue.use` 的扩展能力。
比如:
1. 提供非字符串的复杂值内容的组件间传递
2. `right-text` 与 `rightText` 名字的自转换
3. ...