Giter Club home page Giter Club logo

validation's Introduction

React Suite logo

English | 中文版

npm GitHub Actions npm bundle size codecov Discord Gitter Gitter Gitpod ready-to-code

React Suite is a set of React components. It is committed to providing high-quality and comprehensive React components to help developers quickly build web applications.

Supported Platforms

Browser

React Suite supports the latest, stable releases of all major browsers and platforms. IE<=10 is no longer supported since React Suite 5.0. React Suite is designed and implemented for use on modern desktop browsers rather than mobile browsers.

IE Edge Firefox Chrome Safari
>=11 >=14 >= 45 >= 49 >= 10

Server

React Suite supports server side rendering. Support Next.js to build applications.

Installation

React Suite is available as an npm package.

# with npm
npm install rsuite

# with Yarn
yarn add rsuite

# with pnpm
pnpm add rsuite

# with Bun
bun add rsuite

Usage

import { Button } from 'rsuite';
import 'rsuite/styles/index.less'; // or 'rsuite/dist/rsuite.min.css'

function App() {
  return <Button appearance="primary">Hello World</Button>;
}

More guides on how to get started are available here.

Documentation

It's the https://rsuitejs.com website for the latest version of React Suite. For older versions head over here

The previous major version 4.x will no longer receive new features, and it is recommended to upgrade to the latest 5.x releases. Bug fixes for 4.x are still being supported for a period of time, and security fixes are supported until 6.x is in progress.

Framework Guides

React Suite can be used in your favorite framework. We have prepared step-by-step guides for these frameworks:

Changelog

Detailed changes for each release are documented in the release notes.

Contribution

Make sure you've read the guidelines before you start contributing.

Sponsoring services

These great services help us to build and maintain the project.

Service Description
GitHub Github lets us host the Git repository and coordinate contributions.
Vercel Vercel provides the hosting for the documentation site.
CodeCov CodeCov lets us monitor test coverage.
Gitee Gitee grants us GVP - Gitee Most Valuable Open Source Project.
CodeSandbox CodeSandbox lets us provide live previews of the components.
Stackblitz Stackblitz lets us provide live previews of the components.

Supporting React Suite

If you like React Suite, you can show your support by either

This project exists thanks to all the people who contribute.

opencollective-now

License

React Suite is MIT licensed.

validation's People

Contributors

dependabot[bot] avatar hiyangguo avatar lgtm-com[bot] avatar sevenoutman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

validation's Issues

Cannot use import statement outside a module

I'm using the whole RSuite library in a NextJS project.
I also decided to use this well-structured library but it doesn't seem to load properly on server side.

On a server side render, I get the following error:
image

But on a client side render, it works perfectly.

This issue arises when I try to import the Validator:
import { Validator } from '@rsuite/validation'

Any advice?

Edit: I'm honored to be the first person to create an issue in this library 😆

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.