Insert CSS/JS dependencies at the end of the body

Open
#78 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
css, javascript, r
Domain
frontend, web-dev

Research direction

No file, test, or entry point is named in the issue. Start by locating the dependency insertion path in htmltools and determine how scripts and styles are currently placed; done means providing a way for both to render near the end of the body without disrupting existing output.

Written by the indexing model from the issue text.

Description

It would be nice, if there is a way to insert JS&CSS dependencies towards the end of the body tag.

Reasoning:

Putting your script tags at the end of the body tag, after all of the page's contents, means your entire page will begin displaying as soon as possible to give the user something to look at - and then your scripts will download and make everything work.

Source

High priority for me.

Thanks.

Dominant language
R
Stars
225
Forks
73
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rstudio/htmltools

All issues in rstudio/htmltools

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.