I am going to develop one JSS app in Sitecore. Before starting, what are best practices must follow? What are naming considerations should follow for placeholder in any JSS app?

1 Answer 1


Placeholder principles work exactly the same in the regular Sitecore and in the newer Sitecore JSS framework. So I think it can be common questions about what are the best practices must follow for Sitecore placeholder.

I guess this can be an architect level decision to follow the placeholder name standard but I think below is a good approach -

  • meaningful name
  • every character in lowercase
  • no space and camelcase
  • use "-" if required i.e. left-content
  • try to avoid the same placeholder key if possible

Placeholders defined in JSS will use the global key field on their Placeholder Settings. This means that conflicts may arise if non-JSS and JSS apps use the same placeholder key on a multi-site Sitecore installation. This is not a JSS-specific issue, and to avoid it give JSS apps unique placeholder names such as myapp-main. Note that JSS apps will not conflict with each other when using the same placeholder keys, if there are multiple JSS sites.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.