z0al / oktane Goto Github PK
View Code? Open in Web Editor NEW⚛️ A light-weight and customizable library for data fetching in React
License: MIT License
⚛️ A light-weight and customizable library for data fetching in React
License: MIT License
This is a meta-issue to track progress towards the first stable release of Oktane. It's worth mentioning that the order of tasks listed here is not relevant.
useQuery
useManualQuery
client.prefetch
)hasMore
and fetchMore
.useQuery
& useManualQuery
When testing useFetch
or useRequest
the following warning appears randomly and I'm struggling to fix it.
Warning: An update to TestHook inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in TestHook
in Suspense
in wrapper
For now, I will assume it's a bug.
Fix the "not wrapped in act(...)" warning by Kent C. Dodds.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.