Deprecate renderInstance #465
Labels
documentation
Concerns the available documentation.
enhancement
New feature or request
framework
Concerns the full piral library / framework.
Milestone
New Feature Proposal
For more information, see the
CONTRIBUTING
guide.Description
Right now
piral-core
uses the more explicitcreateInstance
whilepiral
introducesrenderInstance
. The latter should be deprecated and only one way should be used.In 1.0
renderInstance
would then be removed.Background
Having "two ways" (or to be more precise: one convenience way on top of another way) is not good for documentation and transparency. With the more explicit
createInstance
therender
call ofreact-dom
would need to be called explicitly, which opens the door to more optimizations and customizations for the end-user.Discussion
In general
piral
should only providepiral-ext
but nothing more. Consequently, the standard template(s) could be improved, too - if they work for
piral-core
they'd work forpiral
, too (only by exchanging the package name).The text was updated successfully, but these errors were encountered: