Giter Club home page Giter Club logo

react-pure-html-component-loader's People

Contributors

simonrelet avatar victordegliame avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-pure-html-component-loader's Issues

Outdated documentation of old package on NPM

First of all, thanks for the amazing plugin.

Issue:
When I first started using this I came across the npm page first: https://www.npmjs.com/package/html-to-react-loader
It is super great that you updated the package after afterwards and that it redirects to this package, but I still wasted some time basing my code of the npm documentation which set me back a hour or two. I almost gave up before I decided to checkout the github link.

I think it would be a good idea to mitigate the issue for easier adoption.

Regards,
Fanus

[1.0.0] ast-validation rules to add

Theses are the rules that need to be added before the release of v1.0.0:

Imports

  • Imports cannot be nested in components
  • Component imports nesting is allowed for named component imports
  • Imports have valid relation types
  • Component imports have valid attributes
  • Style imports have valid attributes
  • Style imports cannot be nested

Components

  • Cannot have multiple default components
  • Components cannot be nested
  • Components have valid attributes
  • Components cannot have multiple children

Controls

  • Loops and conditionals cannot be merged on the same element
  • Loops cannot have multiple children
  • Loops have valid attributes
  • Conditionals cannot have multiple children

Globals

  • Root element types are limited
  • Ids must be unique

Is it like vue templates?

Is this inspired from vue templates syntax?
If yes, maybe you can put in your README file. So it's more describable.

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.