Message from JavaScript discussions

December 2020

— THis works but the problem with this is that if bookTypes changes, the component will not update

export default function BookTypes(props: any){
const dispatch = useDispatch()

const bookTypes = useSelector(bookTypeListSelector)


useEffect(() => {
dispatch(fetchData(BookType, Book));
}, [])

return (
<Page title="Book Types">
<Table data={bookTypes} />
</Page>
)
}

Message permanent page

— 

Poor readability code, changes are not traced, some function changes argument inside, so you have to know what each function does.. plus you have to know exactly what jsx does.. to see the problem

— If you're using any, there is no point in using TypeScript

— Precisely

— Https://www.youtube.com/watch?v=ZCXAyd5gcjA

— Xdddd

— Https://youtu.be/HeOZFB--Fd4

— Where is the deno video 🤪

— 😄

— 😂😂😂😂😂

— How about firestore-like model?

— ?