Giter Site home page Giter Site logo

Comments (6)

VividLemon avatar VividLemon commented on June 11, 2024 2

In my point of view, "internal aliasing" is just bloat. I have mixed feelings about adding official aliased names and instead would prefer a system where users could maintain their own sets of aliases.

from bootstrap-vue-next.

VividLemon avatar VividLemon commented on June 11, 2024

Related:
#1607
#1569

from bootstrap-vue-next.

yogeshgalav avatar yogeshgalav commented on June 11, 2024

@VividLemon Implementing external alias and exporting internal alias is different thing,
I think this project replaces bootstrap-vue with minimum code change.
If the goal I mention I true, then exporting BInput should be first priority.

and creating alias system for better developer experience is other thing.
There's difference between features which are essential, and which improve product quality.

from bootstrap-vue-next.

xvaara avatar xvaara commented on June 11, 2024

IMHO, if it's just one search and replace on the codebase, I don't think we need to worry about this. Just document the change to a migration guide.

or something like:

import {BFormInput} from 'bootstrap-vue-next'
app.component('BInput', BFormInput)

from bootstrap-vue-next.

yogeshGroony avatar yogeshGroony commented on June 11, 2024

@VividLemon Just wanted to save time and effort to change lot of codebase.
Please do it, from product point of view it would be great.
If you don't want to make internal alias, then you can keep short ones
Like everyone will prefer BInput over BFormInput
From product point please make the change,
there is no other alternate available for bootstrap-vue in market.

from bootstrap-vue-next.

VividLemon avatar VividLemon commented on June 11, 2024

I was thinking about the purpose of the internal alias the other day, and came to the realization that it's a bit silly not to include it by default, as there isn't much of a downside... It doesn't necessarily need to be a default, but could be an opt in feature (one that would hopefully require a simple one line change perhaps). Or simply just be made the default. That being said, the inclusion of default aliases would also require the ability to add custom aliases. So, in conclusion, once I finish the alias system, I will include plans for default aliases.

from bootstrap-vue-next.

Related Issues (20)

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.