This is the repository and repo for the @loopmode/stateful
package.
loopmode / stateful Goto Github PK
View Code? Open in Web Editor NEWA react component for visual indication of async state.
Home Page: https://loopmode.github.io/stateful
A react component for visual indication of async state.
Home Page: https://loopmode.github.io/stateful
The doc states early / normal / late
as possible values for the exit
prop of the confirm component, while in code it must be started / finished / idle
Probably use prism.js
When a <Stateful.Confirm>
is placed inside a button, and the confirm has a "cancel" button that is clicked, this click event bubbles up and actually invokes the original button onClick - although the user explicitly canceled.
Currently, the default implementation of shouldRejectValue
only checks if the given value is an instance of Error
.
Values of type Response
with a status >=400 should be handled as errors by default too.
It would be great to have links to the previous and next examples on the bottom of each example page.
We need some basic test coverage for the core functionality.
Support props.children of type function
The problem is that the entire handling is implicit and highly magic. It would be nice to have some more explicit mechanisms.
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.