You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to take the opportunity to invite someone who did not yet contribute to Hoodie to work on this issue. Follow @YourFirstPR on Twitter for more of these issues across many open source projects :)
🤔 What you will need to know
JavaScript, Node.js, some hapi. Knowledge about browserify would be helpful but are not required.
❓ The Motivation
The Hoodie Client is a JavaScript library that gets loaded in the browser using a <script src="/hoodie/client.js> tag, just like jQuery. But unlike jQuery a Hoodie Client is always specific to its Hoodie Server, and must therefore be generated dynamically. We currently do that on every server start, which is quite resource intensive. Sometime the client doesn’t get loaded from server but is bundled into the frontend app, in that case it doesn’t need to be bundled at all.
🎯 The goal
Bundle the Hoodie Client the first with the first GET /hoodie/client.js request. Queue up all following requests until it’s generated and stored in .hoodie/client.js.
claim this issue
comment below. Once claimed we add you as contributor to this repository, so we can assign you to the ticket and you can start checking off the checkboxes below as you progress. We will also replace the up for grabs label with in progress.
Implement the feature. Currently the /hoodie/client.js route is implemented in hoodie/server/plugins/public.js. We might want to move the logic for the hoodie client paths into an own plugin, maybe hoodie/server/plugins/client.js?
Commit with feat: bundle /hoodie/client.js on demand
Don’t worry about wording or amount of commits. We will clean up everything before we merge :) Also feel free to commit work in progress work if you get stuck
Start a Pull Request. Mention closes hoodiehq/camp#5 in the description.
If this is your first, welcome 🎉 😄 Here is a great tutorial on how to send a pull request
Bonus points if you also implement /hoodie/client.min.js, /hoodie/admin/client.js and /hoodie/admin/client.min.js, but we can also create follow up issues for it.
Done 👍 Replace the in progress label with ready. Ask in comments for a review :)
This is a starter issue.
Your First Pull Request?
We would like to take the opportunity to invite someone who did not yet contribute to Hoodie to work on this issue. Follow @YourFirstPR on Twitter for more of these issues across many open source projects :)
🤔 What you will need to know
JavaScript, Node.js, some hapi. Knowledge about browserify would be helpful but are not required.
❓ The Motivation
The Hoodie Client is a JavaScript library that gets loaded in the browser using a
<script src="/hoodie/client.js>
tag, just like jQuery. But unlike jQuery a Hoodie Client is always specific to its Hoodie Server, and must therefore be generated dynamically. We currently do that on every server start, which is quite resource intensive. Sometime the client doesn’t get loaded from server but is bundled into the frontend app, in that case it doesn’t need to be bundled at all.🎯 The goal
Bundle the Hoodie Client the first with the first
GET /hoodie/client.js
request. Queue up all following requests until it’s generated and stored in.hoodie/client.js
.The logic for that is currently in hoodie/server/bundle-client.js, it gets required in hoodie/server/index.js
📋 Step by Step
comment below. Once claimed we add you as contributor to this repository, so we can assign you to the ticket and you can start checking off the checkboxes below as you progress. We will also replace the
up for grabs
label within progress
./hoodie/client.js
route is implemented in hoodie/server/plugins/public.js. We might want to move the logic for the hoodie client paths into an own plugin, maybehoodie/server/plugins/client.js
?feat: bundle /hoodie/client.js on demand
Don’t worry about wording or amount of commits. We will clean up everything before we merge :) Also feel free to commit work in progress work if you get stuck
closes hoodiehq/camp#5
in the description.If this is your first, welcome 🎉 😄 Here is a great tutorial on how to send a pull request
/hoodie/client.min.js
,/hoodie/admin/client.js
and/hoodie/admin/client.min.js
, but we can also create follow up issues for it.in progress
label withready
. Ask in comments for a review :)Ping us in the Hoodie Chat or on Twitter if you have any questions :)
The text was updated successfully, but these errors were encountered: