The Wayback Machine - https://web.archive.org/web/20201214182644/https://github.com/topics/reactjs
Skip to content
#

reactjs

react logo

React (also known as React.js or ReactJS) is a JavaScript library that makes developing interactive user interfaces simple.

Here are 51,165 public repositories matching this topic...

ilzhi
ilzhi commented Aug 12, 2020

相关平台

微信小程序

复现仓库

https://github.com/li-z/taro-bug
小程序基础库: 2.12.0
使用框架: React

复现步骤

运行项目后点击跳转到详情页,然后返回首页。然后触发子组件的 onClick 事件时,回调函数却还是详情页的函数。去掉id属性后正常。

期望结果

有无id属性都应正常

实际结果

有id属性异常

环境信息

Taro CLI 3.0.7 environment info:
    System:
      OS: macOS
blitz
johnkahn
johnkahn commented Dec 11, 2020

What do you want and why?

There is a queryKey property of the query hooks options, but looking at the source code it is not being utilized to set the query key. My problem is that for one of my queries the query key changes often due to user input (sorting and filtering), and I would like a query key I set so that I can fetch from the cache easier on other pages.

Possible implement

Created by Jordan Walke

Released March 2013

Latest release about 2 months ago

Repository
facebook/react
Website
reactjs.org
Wikipedia
Wikipedia

Related Topics

angular react-native vue
You can’t perform that action at this time.