How to support older browsers
Hello all! I'm currently building a project that uses React Query. It's amazing tools and I can integrate with SSR framework.
But now I'm struggling to support older browsers. I read the documentation and there is a something like this:
Depending on your environment, you might need to add polyfills. If you want to support older browsers, you need to transpile the library from node_modules yourselves.How can I do that? Is there any tutorial or guide for this? I want to support browsers that released since at least 2015, 2016, or 2017. I'm now using this version: Thanks in advance!
1 Reply
eastern-cyan•4y ago
depends on your build system. most bundlers exclude node_modules from the transpilation process, so you'd have to include the tanstack-query directory from node_modules there