data-client
antd
data-client | antd | |
---|---|---|
12 | 210 | |
1,891 | 90,297 | |
0.3% | 0.4% | |
9.8 | 10.0 | |
3 days ago | 7 days ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
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.
data-client
-
SWR VS rest-hooks - a user suggested alternative
2 projects | 5 Feb 2023
Provides data fetching, but handles mutations better by using reactive paradigms.
-
Nextjs 13 server components discussion
You can still do SSR with normal client-side behavior if you use a React 18 SSR compatible library
-
Why are data fetching libraries in the view layer so mainstream in React apps?
https://resthooks.io/ is inspired by Backbone models
-
alternatives to useReducer for heavy async flows
The control flow can be pretty straightforward once you have middleware integration; which you can see with async state management becoming as simple as a one-liner
-
(React-Query ) Re-declaring useQuery() and all its options in multiple components?
You're probably better off using a tool that is built with code reuse in mind like https://resthooks.io
-
Should I learn Nextjs?
Probably the most important thing is to have a normalized data cache to save yourself tons of data-bug headaches. I use https://resthooks.io/ myself because it used inferred typing safety meaning I don't have to do any extra definitions or even use typescript and it will tell me what types I should expect. But you could also roll your own normalization using https://github.com/paularmstrong/normalizr with a state management tool like redux
-
SWR vs React Query? Which one do you like to use with Next.js?
If the data ever changes I prefer using Rest Hooks to ensure data integrity without having to manually write state updates for every usage
- I made a asynchronous data framework - tell me what you think!
-
Is typescript worth it?
The advantage really comes when you using libraries like https://resthooks.io/ that enforce and infer strong types without effort from you. Then all you're doing is writing the types. Even cases like typos get removed due to typeahead helping you out. This is especially helpful in large projects with many developers as you'll likely be frequently working with types someone else defined and you don't know their members off the top of your head.
-
Awesome Things Related To React Hooks π
rest-hooks - Delightful data fetching for React.
antd
-
Top 5 UI Component Libraries for React.js
Ant Design
-
React Component Libraries
Official Website: https://ant.design/
-
Creating an AI photo generator and editing app with React
Ant Design (antd) is a React component library for building beautiful and modern user interfaces. It comes with a collection of prebuilt, enterprise-level UI components. To install Ant Design, use the command below:
-
β‘Top GitHub Repositories for UI Components
π Site β GitHub
-
Ask HN: Examples of best practice modern website design?
(I'm a frontend dev, but I came into the design side only later in my career, after having started as a full-stack programmer.)
I think this book is probably the single best resource I've seen on the topic: https://www.refactoringui.com/
It's a really easy-to-use format (one quick tip on each page, with clear examples).
It's from the people who made Tailwind, a CSS framework that's basically a reimagining of Bootcamp for the Javascript/component era.
Check out some of their templates: https://tailwindui.com/templates
These are lookalike "modern" designs that you can pay to use, or just draw inspiration from. Imitation == flattery and all that.
Along similar lines, check out the free Next.js templates: https://vercel.com/templates/next.js
If you want to build up from components instead, Tailwind offers a component library too: https://tailwindui.com/components
For React, I prefer the astoundingly good MUI framework (amazing components with lots of customizability, a good enough default look, and great documentation): https://mui.com/ If you end up going this route, using their Figma kit (https://mui.com/store/items/figma-react/) plus the Refactoring UI book from above should allow you to whip up a pretty standard-looking, "pretty enough" design in very little time. And then implementing it using the actual MUI lib would just take a few days.
There's also Ant Design: https://ant.design/
And Chakra UI: https://chakra-ui.com/
-----------
For more theoretical stuff (i.e., less visual but still very valuable), the UX research group Nielsen Norman still has a treasure trove of valuable advice: https://www.nngroup.com/articles/top-ten-guidelines-for-home...
You should know the basics of accessibility (beyond general usability, this alos means alt text, header levels, contrast ratios, readability, screen readers, keyboard navigation, special considerations for the hard of sight and hearing, etc.): https://www.w3.org/WAI/standards-guidelines/wcag/ or at least use an easy checklist tool like Microsoft's WCAG analyzer: https://accessibilityinsights.io/
-
Top React Component UI Libraries to Enhance Your Web Development Projects
Ant Design is a fantastic toolkit for React developers. It's like having a box of building blocks that are not only stylish but also super functional. With Ant Design, you get a collection of pre-made React components that you can easily put together to create a sleek and modern look for your web projects. Whether you're a beginner or a seasoned developer, Ant Design simplifies the process of making your web applications both visually appealing and user-friendly. It's a go-to choice for those who want a seamless blend of design and functionality in their React applications.
-
Can I create another WordPress that satisfies humanity?
The backend UI is a combination of React + MUI + Ant Design.
-
Boost Your React Projects with These Open Source Component Libraries
Material-UI Ant Design Chakra UI Semantic UI React
-
45 NPM Packages to Solve 16 React Problems
ant-design -> Less configurable. Limited but nice components.
-
9 React component libraries for efficient development in 2023
GitHub stars: 88k GitHub link: https://github.com/ant-design/ant-design Documentation: https://ant.design/docs/react/getting-started
What are some alternatives?
orval - orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. πΊ
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
react-autosuggest - WAI-ARIA compliant React autosuggest component
chakra-ui - β‘οΈ Simple, Modular & Accessible UI Components for your React Applications
react-native-netinfo - React Native Network Info API for Android & iOS
Tailwind CSS - A utility-first CSS framework for rapid UI development.
easy-peasy - Vegetarian friendly state for React
mantine - A fully featured React components library
react-content-loader - βͺ SVG-Powered component to easily create skeleton loadings.
rsuite - 𧱠A suite of React components .
evergreen - π² Evergreen React UI Framework by Segment
shadcn/ui - Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.