Danijel Maksimovic

23 posts

Danijel Maksimovic banner
Danijel Maksimovic

Danijel Maksimovic

@danijelmax

Fullstack JS developer @NearForm

Belgrade, Serbia Katılım Ağustos 2022
86 Takip Edilen4 Takipçiler
Danijel Maksimovic
Danijel Maksimovic@danijelmax·
One thing I would like @prisma to do is generate down migrations automatically and not have to diff the schema, get SQL in a file, and store it in a folder.
English
0
0
1
34
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
Thanks for sharing! Such a cool integration with @fastifyjs, I love it. The only nitpick I found is that you should await worker.start() to prevent race conditions between your components making requests and MSW's worker registering. Basically, using something like this "enableMocking()" function: #conditionally-enable-mocking" target="_blank" rel="nofollow noopener">mswjs.io/docs/integrati… If I may, Danijel, what were some of the questions about MSW you liked?
English
2
0
3
24
Danijel Maksimovic
Danijel Maksimovic@danijelmax·
@kettanaito @ApiMocking @JSBelgrade @fastifyjs You're totally right about awaiting for the worker to start 🤦 People were generally quite interested in how MSW works and they found it interesting that you can use it across the stack. They were also wondering if it supports web sockets🤔
English
1
0
2
66
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
What do you folks recommend to use with @tailwindcss in React (functionality-wise)? Looking for an unstyled components framework with a decent library of default components (buttons, modals, menus, form elements, etc).
English
13
0
9
2.7K
Brandon 🚀 Flightcontrol
What’s the latest and greatest form libraries (including typesafety) y’all are using for new apps these days?
English
18
0
30
0
Danijel Maksimovic retweetledi
Tim Deschryver
Tim Deschryver@tim_deschryver·
Why did no one tell me that you can edit and resend a network request via the browser DevTools 🤯 Right click the request, select "Edit and Resend", and the result is that you get a Postman like window.
GIF
English
28
199
1K
0
Danijel Maksimovic retweetledi
Forrest Brazeal
Forrest Brazeal@forrestbrazeal·
new little song: "The Re-Org Rag (I'm My Own VP)"
English
220
2.7K
10.2K
0
Danijel Maksimovic
Danijel Maksimovic@danijelmax·
Please don't be clever with your tests. Understanding the test should be as simple as possible.
English
0
0
0
0
Matteo Collina
Matteo Collina@matteocollina·
When I develop a new module/API, I typically have an hitch to scratch, or a goal to achieve. I start from a simple example on how to use the code, prototype some APIs. Then I make that example “work”.That’s the reason why you see an example.js file in most of my repos.
English
10
3
62
0
Dipti Desai
Dipti Desai@diptidesaisf·
@Altimor What’s the alternative? Or gonna try nothing at all?
English
2
0
2
0
Flo Crivello
Flo Crivello@Altimor·
Strongly considering banning Slack at Teamflow. Everyone *thinks* it's making them more productive, but I think the reality is it's distracting everyone, and making us all feel overwhelmed.
English
69
38
832
0
Danijel Maksimovic
Danijel Maksimovic@danijelmax·
@hung_dev @kettanaito That is the nature of E2E tests, they are slower than tests that run in Node process, since the setup is much more expensive. But PW has a lot of tools to paralelize tests, skip certain tests, pick certain tests depending on your situation.
English
0
0
1
0
Hung Viet Nguyen
Hung Viet Nguyen@hung_dev·
@kettanaito I wonder about the speed when running thousands of tests using Playwright vs Jest/ Vitest in a jsdom environment. I love e2e tests but when it scales to thousands, they are very slow (could take hours) :(
English
3
0
2
0
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
“playwright/test” is superb. It works like I expect every time and it’s an immensely pleasant experience. Use it for your tests. @playwright/test" target="_blank" rel="nofollow noopener">npmjs.com/package/@playw
English
3
1
16
0
Danijel Maksimovic
Danijel Maksimovic@danijelmax·
@ujjwalscript heyfocus.com on Mac, noise cancelling headphones and ambiental music, any otjer music genre is distracting. The app blocks apps and websites that you find distracting, bit has a great default list.
English
0
0
0
0
Ujjwal Chadha
Ujjwal Chadha@ujjwalscript·
How do you avoid distractions while programming? 🤔
English
408
124
1.8K
0