TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: React component for A/B testing. What do you think?

3 点作者 yaru22大约 9 年前

2 条评论

namuol大约 9 年前
There are a couple other A&#x2F;B testing utility components out there:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;pushtell&#x2F;react-ab-test" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pushtell&#x2F;react-ab-test</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;olahol&#x2F;react-ab" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;olahol&#x2F;react-ab</a><p>How does this differ?<p>At first glance: I might be misunderstanding something, but the need to create a custom backend endpoint seems like a pretty big commitment, especially if I&#x27;m already using an existing service.<p>It would be nice if the impression data were exposed in <i>callbacks</i> passed to the &quot;ABComponent&quot; as props, which would allow us to use existing services to track such things. This would prevent the need to have a custom endpoint that is coupled to this specific implementation.
Hindoras558大约 9 年前
That is a great component, will definitely use it in my next project!