use-promise
Making Promises in your components a breeze 🌬️ (by jonkoops)
floating-ui
A JavaScript library to position floating elements and create interactions for them. (by floating-ui)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
use-promise | floating-ui | |
---|---|---|
4 | 20 | |
10 | 28,578 | |
- | 0.9% | |
0.0 | 9.5 | |
4 months ago | 8 days ago | |
TypeScript | TypeScript | |
Mozilla Public License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
use-promise
Posts with mentions or reviews of use-promise.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-23.
-
How do I convert Promise<string> object to string for use in href?
Shameless self plug for use-promise. This hook allows you to get the status and result of a Promise so you can use it in your component.
-
Modern API data-fetching methods in React
This is a very nice explainer on how to deal with the Fetch API! If you are looking for something that works even lower level using Promises (including cancellation when components un-mount or dependencies change) check out the library I wrote for the municipality of Amsterdam called use-promise.
-
How to replace useState with useRef and be a winner
Yes, in this case I simplified the code as the fetching logic is not the important piece of this code and would have only made the example more verbose than it needs to be. Normally I would use something like usePromise instead (shameless self promotion).
-
How to store previous value, in useAPI hook and call execute an api call when props change
I made a library just for that! https://github.com/Amsterdam/use-promise
floating-ui
Posts with mentions or reviews of floating-ui.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-27.
-
Exploring Catalyst, Tailwind's UI kit for React
Built-in anchor positioning: With Floating UI, components like Menu and Listbox automatically position their popovers, anchoring them to their triggers and allowing them to adjust to changes in the viewport quickly.
-
Guided Tours Solution for Your Web Application
Shepherd is a powerful and customizable open source JavaScript library for creating interactive tours and onboarding experiences in web applications. It uses another open source library Floating UI to render the dialog tours. It offers a simple setup process, dynamic content support, the ability to create custom actions and events, and theming and styling too. More importantly, it is responsive too and never goes offscreen on smaller devices. Shepherd also provides excellent documentation and support, making it a popular choice among developers.
-
How to implement this hover effect?
Check https://floating-ui.com/
-
Custom <select> ?
As you stated, it's generally best to suggest going with the native application for handling the styling of the select options. That said, when I do need to reach for a nice lightweight solution, I have really enjoyed popper.js now known as Floating UI. The library is suitable for multiple UI patterns such as tooltips, popovers, selects, dialogs, dropdowns and comboboxes, meaning you get more mileage out of the small amount of additional file size.
- Floating UI – Create tooltips, popovers, and dropdowns
- [AskJS] What are your favorite JS packages and libraries at the moment?
-
Struggling to make a div appear on top
nothing wrong with that, but it's also good to have a clear perspective over what you are doing. e.g. Maybe if you can, take 20 minutes to have a look at this code that is for doing this.. 1,405 commits over 5 years, 948 issues, and it still doesn't work right!
-
what theme is used on this website? is it available in vscode?
I did say at a glance, but it was really from faulty memory while eating breakfast. Turns out it's a customized Moonlight II. I don't think that exact theme exists for vscode, but there is one by the same name if that'll do the trick.
-
Any flutter package similar to Floating UI?
Hello people, the title pretty much says it all so here is a link to Floating UI
-
I created a draggable smart menu in React that can automatically change its orientation and position. Links in the comments
Hey nice job! If you want to make the menu slide without moving the button you might want to check https://floating-ui.com/