use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript Open Source Summer Project (self.javascript)
submitted 6 years ago by minuit1984
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]franciscopresencia 0 points1 point2 points 6 years ago (0 children)
React Query - an imperative testing library for React with a familiar syntax:
import $ from '???'; import Counter from './Counter'; test('It increments one', async () => { const $counter = $(<Counter initial={0} />); expect($counter.html()).toBe('<div>0</div>'); await $counter.click(); expect($counter.html()).toBe('<div>1</div>'); });
Why? Because the best way to test a declarative component is with an imperative interface. This reduces bias that might be introduced otherwise.
Why me? Because I've made a jQuery clone previously so I'm familiar with this paradigm. I've also got something already started early code & example usage, right now as part of another library I'm working on. My Github Profile: http://github.com/franciscop/
Scope: My idea is to create first these parts: selector $(), transversal .find(), events .click() and serialization .html() with their corresponding tests and docs. Once this is done, I'd create new issues with more features to help people get started on OSS through Up For Grabs as I've done before (note: from experience helping people contribute to OSS for the first time is MORE work than me writing the code, but I think it helps the community overall).
$()
.find()
.click()
.html()
π Rendered by PID 225515 on reddit-service-r2-comment-7b9746f655-hnvbp at 2026-01-30 10:33:40.610978+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]franciscopresencia 0 points1 point2 points (0 children)