Grainular-Nord / nord

A lightweight (8kb), dependency-free JavaScript Frontend Framework
https://nordjs.dev
MIT License
7 stars 0 forks source link

[FEATURE ENHANCEMENT] Propless Components require a '{}' to be instantiated #85

Open IamSebastianDev opened 9 months ago

IamSebastianDev commented 9 months ago

Feature Enhancement Description

Feature Overview: When inserting a component that has not defined Props, a empty Object {} needs to be passed, which is unnecessary.

Current Functionality:

Suggested Enhancement: A component that does not need props should not require a empty object to be instantiated.

Benefits of Enhancement: Makes things more pretty and not so weird.

Additional Information

Possible Implementation 💡

Additional Context