We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Easy State version: 7.0.0-alpha.1 Platform: Iphone IOS10 Safari
Describe the bug in ios10 safari , use store wrap a array, in react render function ,use this array's map function not render item
const datas = store({ list: [{ a: 1 }, { a: 2 }] }); function App() { const items = []; datas.list.forEach(item => { items.push(<div key={item.a}>{item.a}</div>); }); return ( <div className="App"> <h1>Hello CodeSandbox</h1> {datas.list.map(item => { return <div key={item.a}>{item.a}</div>; })} <div>===============</div> {items} </div> ); } export default view(App);
To Reproduce
https://codesandbox.io/s/react-easy-state-alpha-42dgc?file=/src/App.js
The text was updated successfully, but these errors were encountered:
I added the following code
console.log(items, [...datas.list.map(item=><div key={item.a}>{item.a}</div>)])
Safari IOS10 print
Chrome print
Sorry, something went wrong.
The error should have occurred in this package @nx-js/observer-util in observable.js file remove typeof child === 'function' IOS10 is OK
@nx-js/observer-util
typeof child === 'function'
This is the first time I have checked the source code of this package, it is not clear why this happens
Is caused by this nx-js/observer-util#48
No branches or pull requests
React Easy State version: 7.0.0-alpha.1
Platform: Iphone IOS10 Safari
Describe the bug
in ios10 safari ,
use store wrap a array,
in react render function ,use this array's map function not render item
This is the right situation
This is the problematic situation
This is the source code
For tougher bugs
To Reproduce
https://codesandbox.io/s/react-easy-state-alpha-42dgc?file=/src/App.js
The text was updated successfully, but these errors were encountered: