The UMD package can be used as a tag directly. It is also available as a precompiled UMD package that defines a window.RTK global variable. The recommended way to start new apps with React and Redux is by using the official Redux+JS template or Redux+TS template for Create React App, which takes advantage of Redux Toolkit and React Redux's integration with React components. Whether you're a brand new Redux user setting up yourįirst project, or an experienced user who wants to simplify an existing application, Redux Toolkit can help These tools should be beneficial to all Redux users. ![]() It's optional, but can eliminate the need to hand-write data fetching logic yourself. It's included in the package as a separate set of entry points. Redux Toolkit also includes a powerful data fetching and caching capability that we've dubbed "RTK Query". We can't solve every use case, but in the spirit of create-react-app, we can try to provide some tools that abstract over the setup process and handle the most common use cases, as well as include some useful utilities that will let the user simplify their application code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |